Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e1ea829

Browse files
author
Victor Stinner
committed
Issue #3080: Fix test_reprlib on Windows
Fix the test for last module changes (r88520).
1 parent c0f1a1a commit e1ea829

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_reprlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def test_module(self):
234234
touch(os.path.join(self.subpkgname, self.pkgname + '.py'))
235235
from areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation import areallylongpackageandmodulenametotestreprtruncation
236236
eq(repr(areallylongpackageandmodulenametotestreprtruncation),
237-
"<module '%s' from '%s'>" % (areallylongpackageandmodulenametotestreprtruncation.__name__, areallylongpackageandmodulenametotestreprtruncation.__file__))
237+
"<module %r from %r>" % (areallylongpackageandmodulenametotestreprtruncation.__name__, areallylongpackageandmodulenametotestreprtruncation.__file__))
238238
eq(repr(sys), "<module 'sys' (built-in)>")
239239

240240
def test_type(self):

0 commit comments

Comments
 (0)