From 0b8ced4c205bf06116ef9ba2f4fd10a57eafdd1f Mon Sep 17 00:00:00 2001 From: "Kunz, Immanuel" Date: Wed, 13 Nov 2024 12:52:35 +0100 Subject: [PATCH] fix naming in none_test --- tests/test_version_range.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_version_range.py b/tests/test_version_range.py index cea18d7b..b2c4ec07 100644 --- a/tests/test_version_range.py +++ b/tests/test_version_range.py @@ -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