[Python-checkins] distutils2: Fixed a bogus test.

tarek.ziade python-checkins at python.org
Mon Apr 5 23:09:19 CEST 2010


tarek.ziade pushed ac4d89f38958 to distutils2:

http://hg.python.org/distutils2/rev/ac4d89f38958
changeset:   106:ac4d89f38958
user:        pumazi
date:        Thu Apr 01 16:49:50 2010 -0400
summary:     Fixed a bogus test.
files:       src/distutils2/_backport/tests/test_pkgutil.py

diff --git a/src/distutils2/_backport/tests/test_pkgutil.py b/src/distutils2/_backport/tests/test_pkgutil.py
--- a/src/distutils2/_backport/tests/test_pkgutil.py
+++ b/src/distutils2/_backport/tests/test_pkgutil.py
@@ -173,9 +173,7 @@
             #   needs to be transformed during the name lookup
             ('python-ldap', '2.5', 'python_ldap-2.5.dist-info'),
             # Test for both '-' in the name and a funky version number
-            # FIXME The end result, as defined in PEP 376, does not match what
-            #   would be acceptable by PEP 386.
-            ('python-ldap', '2.5 a---5', 'python_ldap-2.5.a_5.dist-info'),
+            ('python-ldap', '2.5 a---5', 'python_ldap-2.5 a---5.dist-info'),
             ]
 
         # Import the function in question

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list