v440 2.0.0.dev31__tar.gz → 2.0.0.dev32__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {v440-2.0.0.dev31/src/v440.egg-info → v440-2.0.0.dev32}/PKG-INFO +1 -1
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/pyproject.toml +1 -1
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/tests/test_testdata.py +13 -9
- {v440-2.0.0.dev31 → v440-2.0.0.dev32/src/v440.egg-info}/PKG-INFO +1 -1
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/LICENSE.txt +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/MANIFEST.in +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/README.rst +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/setup.cfg +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/__init__.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/BaseList.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/Cfg.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/Digest.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/Pattern.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/SimpleQualifierParser.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/SlotList.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/VList.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/__init__.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/cfg.toml +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/qualparse.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/_utils/utils.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/core/Base.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/core/Local.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/core/Public.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/core/Qualification.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/core/Release.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/core/Version.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/core/VersionError.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/core/__init__.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/tests/__init__.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/tests/test_version.py +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440/tests/testdata.toml +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440.egg-info/SOURCES.txt +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440.egg-info/dependency_links.txt +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440.egg-info/requires.txt +0 -0
- {v440-2.0.0.dev31 → v440-2.0.0.dev32}/src/v440.egg-info/top_level.txt +0 -0
|
@@ -244,20 +244,24 @@ class TestVersionSpecifiersGo(unittest.TestCase):
|
|
|
244
244
|
|
|
245
245
|
class TestPackagingA(unittest.TestCase):
|
|
246
246
|
def test_strings_a(self: Self) -> None:
|
|
247
|
-
a: packaging.version.Version
|
|
248
|
-
b: str
|
|
249
|
-
f: int
|
|
250
|
-
g: str
|
|
251
247
|
s: str
|
|
252
248
|
x: str
|
|
253
249
|
y: list
|
|
254
250
|
for x, y in Util.util.data["strings"]["valid"].items():
|
|
255
251
|
for s in y:
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
252
|
+
with self.subTest(key=x):
|
|
253
|
+
self.go(text=s)
|
|
254
|
+
|
|
255
|
+
def go(self: Self, text: str) -> None:
|
|
256
|
+
a: packaging.version.Version
|
|
257
|
+
b: str
|
|
258
|
+
f: int
|
|
259
|
+
g: str
|
|
260
|
+
a = packaging.version.Version(text)
|
|
261
|
+
b = str(a)
|
|
262
|
+
f = len(a.release)
|
|
263
|
+
g = Version(text).format(f)
|
|
264
|
+
self.assertEqual(b, g)
|
|
261
265
|
|
|
262
266
|
|
|
263
267
|
class TestPackagingB(unittest.TestCase):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|