We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04f457c commit 1cc35ecCopy full SHA for 1cc35ec
testing/test_mark_expression.py
@@ -250,7 +250,13 @@ def create_marker(name: str, kwargs: dict[str, object]) -> structures.Mark:
250
markers.append(
251
create_marker(
252
"str_mark",
253
- {"m": "M", "space": "with space", "aaאבגדcc": "aaאבגדcc", "אבגד": "אבגד"},
+ {
254
+ "m": "M",
255
+ "space": "with space",
256
+ "aaאבגדcc": "aaאבגדcc",
257
+ "אבגד": "אבגד",
258
+ "empty": "",
259
+ },
260
)
261
262
@@ -313,9 +319,13 @@ def test_builtin_matchers_keyword_expressions( # TODO: naming when decided
313
319
("str_mark(aaאבגדcc='aaאבגדcc')", True),
314
320
("str_mark(אבגד='אבגד')", True),
315
321
("str_mark(space='with space')", True),
322
+ ("str_mark(empty='')", True),
323
+ ('str_mark(empty="")', True),
316
324
("str_mark(m='wrong')", False),
317
325
("str_mark(aaאבגדcc='wrong')", False),
318
326
("str_mark(אבגד='wrong')", False),
327
+ ("str_mark(m='')", False),
328
+ ('str_mark(m="")', False),
329
),
330
331
def test_str_keyword_expressions(
0 commit comments