mirror of https://github.com/python/cpython.git
Issue #3080: Fix test_reprlib on Windows
Fix the test for last module changes (r88520).
This commit is contained in:
parent
c0f1a1afae
commit
e1ea8298c6
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue