We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0f1a1a commit e1ea829Copy full SHA for e1ea829
1 file changed
Lib/test/test_reprlib.py
@@ -234,7 +234,7 @@ def test_module(self):
234
touch(os.path.join(self.subpkgname, self.pkgname + '.py'))
235
from areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation import areallylongpackageandmodulenametotestreprtruncation
236
eq(repr(areallylongpackageandmodulenametotestreprtruncation),
237
- "<module '%s' from '%s'>" % (areallylongpackageandmodulenametotestreprtruncation.__name__, areallylongpackageandmodulenametotestreprtruncation.__file__))
+ "<module %r from %r>" % (areallylongpackageandmodulenametotestreprtruncation.__name__, areallylongpackageandmodulenametotestreprtruncation.__file__))
238
eq(repr(sys), "<module 'sys' (built-in)>")
239
240
def test_type(self):
0 commit comments