Issue #3080: Fix test_reprlib on Windows

Fix the test for last module changes (r88520).
This commit is contained in:
Victor Stinner 2011-02-23 14:14:48 +00:00
parent c0f1a1afae
commit e1ea8298c6
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ def test_module(self):
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):