mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #3080: Fix test_reprlib on Windows
Fix the test for last module changes (r88520).
This commit is contained in:
parent
c0f1a1afae
commit
e1ea8298c6
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ class LongReprTest(unittest.TestCase):
|
|||
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…
Add table
Add a link
Reference in a new issue