Skip to content

Commit

Permalink
fix naming in none_test
Browse files Browse the repository at this point in the history
  • Loading branch information
immqu committed Nov 13, 2024
1 parent 03c7cc7 commit 0b8ced4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_version_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,6 @@ def test_version_range_all():
assert PypiVersion("2.0.3") in all_vers

def test_version_range_none():
all_vers = VersionRange.from_string("vers:none/*")
assert not all_vers.contains(Version("1.2.3"))
assert PypiVersion("2.0.3") not in all_vers
none_vers = VersionRange.from_string("vers:none/*")
assert not none_vers.contains(Version("1.2.3"))
assert PypiVersion("2.0.3") not in none_vers

0 comments on commit 0b8ced4

Please sign in to comment.