[Python-checkins] r88533 - python/branches/py3k/Lib/test/test_reprlib.py
victor.stinner
python-checkins at python.org
Wed Feb 23 15:14:49 CET 2011
Author: victor.stinner
Date: Wed Feb 23 15:14:48 2011
New Revision: 88533
Log:
Issue #3080: Fix test_reprlib on Windows
Fix the test for last module changes (r88520).
Modified:
python/branches/py3k/Lib/test/test_reprlib.py
Modified: python/branches/py3k/Lib/test/test_reprlib.py
==============================================================================
--- python/branches/py3k/Lib/test/test_reprlib.py (original)
+++ python/branches/py3k/Lib/test/test_reprlib.py Wed Feb 23 15:14:48 2011
@@ -234,7 +234,7 @@
touch(os.path.join(self.subpkgname, self.pkgname + '.py'))
from areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation import areallylongpackageandmodulenametotestreprtruncation
eq(repr(areallylongpackageandmodulenametotestreprtruncation),
- "<module '%s' from '%s'>" % (areallylongpackageandmodulenametotestreprtruncation.__name__, areallylongpackageandmodulenametotestreprtruncation.__file__))
+ "<module %r from %r>" % (areallylongpackageandmodulenametotestreprtruncation.__name__, areallylongpackageandmodulenametotestreprtruncation.__file__))
eq(repr(sys), "<module 'sys' (built-in)>")
def test_type(self):
More information about the Python-checkins
mailing list