Commit 74118351 authored by Xavier Thompson's avatar Xavier Thompson

zc.recipe.egg: Fix tests for Python >= 3.10

Fix output renormalisation when the Python version string contains more
than one digit in the minor version number, i.e for Python >= 3.10.
parent 1e57a758
...@@ -151,7 +151,7 @@ def test_suite(): ...@@ -151,7 +151,7 @@ def test_suite():
zc.buildout.testing.pkg_resources_deprecated, zc.buildout.testing.pkg_resources_deprecated,
zc.buildout.testing.warnings_warn, zc.buildout.testing.warnings_warn,
(re.compile("(d ((ext)?demo(needed)?|other)" (re.compile("(d ((ext)?demo(needed)?|other)"
r"-\d[.]\d-py)\d[.]\d(-\S+)?[.]egg"), r"-\d[.]\d-py)\d[.](\d)+(-\S+)?[.]egg"),
'\\1V.V.egg'), '\\1V.V.egg'),
]), ]),
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment