Skip to content

Commit

Permalink
Add test to check fallback works
Browse files Browse the repository at this point in the history
  • Loading branch information
notatallshaw committed Feb 8, 2025
1 parent 068c10f commit 4ed82fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_specifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,8 @@ def test_specifier_contains_installed_prereleases(self):
("", None, None, ["1.0", "2.0a1"], ["1.0"]),
(">=1.0.dev1", None, None, ["1.0", "2.0a1"], ["1.0", "2.0a1"]),
("", None, None, ["1.0a1"], ["1.0a1"]),
(">=1.2.3", None, None, ["1.2", "1.5a1"], ["1.5a1"]),
(">=1.2.3", None, None, ["1.3", "1.5a1"], ["1.3"]),
("", None, None, ["1.0", Version("2.0")], ["1.0", Version("2.0")]),
# Test overriding with the prereleases parameter on filter
("", None, False, ["1.0a1"], []),
Expand Down

0 comments on commit 4ed82fd

Please sign in to comment.