Skip to content

Commit e5ded03

Browse files
committed
add comma and operation tests
1 parent 6e222bc commit e5ded03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_pyproject.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ def test_detect_python_version_requirement():
170170
"/usr/bin/python3.8",
171171
ValueError("Invalid python version, python specific implementations are not supported: /usr/bin/python3.8"),
172172
),
173+
(">=3.8,<3.10", ">=3.8,<3.10"),
174+
(">=3.8, <*", ValueError("Invalid python version: <*")),
173175
],
174176
)
175177
def test_python_version_file_adapt(content, expected):

0 commit comments

Comments
 (0)