Skip to content

Commit c20074d

Browse files
committed
Add a test case for non-normalised specifiers
This validates that the specifier is parsed correctly.
1 parent a571df8 commit c20074d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_requirements.py

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
(None, "({ws}==={ws}arbitrarystring{ws})"),
8383
(None, "=={ws}1.0"),
8484
(None, "({ws}=={ws}1.0{ws})"),
85+
(None, "=={ws}1.0-alpha"),
8586
(None, "<={ws}1!3.0.0.rc2"),
8687
(None, ">{ws}2.2{ws},{ws}<{ws}3"),
8788
(None, "(>{ws}2.2{ws},{ws}<{ws}3)"),

0 commit comments

Comments
 (0)