Skip to content

Commit a1450a6

Browse files
committed
fix: add more tests for invalid markers
Signed-off-by: Frost Ming <[email protected]>
1 parent aada1f2 commit a1450a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_markers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ def test_parses_valid(self, marker_string):
182182
"python_version >= 1.0 and (python_version)",
183183
'(python_version == "2.7" and os_name == "linux"',
184184
'(python_version == "2.7") with random text',
185+
'python_version *= "2.7"',
186+
"python_version ~= 2.7",
187+
'python_version >= "2.7" or os_name *= "linux"',
185188
],
186189
)
187190
def test_parses_invalid(self, marker_string):

0 commit comments

Comments
 (0)