diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-23 14:14:48 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-23 14:14:48 (GMT) |
commit | e1ea8298c6a13b640f3bf7ae5d6ce05e696adf0e (patch) | |
tree | 4c485ba37bd31f8ebe53d03c4fea36933ce0b743 /Lib/test/test_reprlib.py | |
parent | c0f1a1afae3843986eb0bef54b165424361f2510 (diff) | |
download | cpython-e1ea8298c6a13b640f3bf7ae5d6ce05e696adf0e.zip cpython-e1ea8298c6a13b640f3bf7ae5d6ce05e696adf0e.tar.gz cpython-e1ea8298c6a13b640f3bf7ae5d6ce05e696adf0e.tar.bz2 |
Issue #3080: Fix test_reprlib on Windows
Fix the test for last module changes (r88520).
Diffstat (limited to 'Lib/test/test_reprlib.py')
-rw-r--r-- | Lib/test/test_reprlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_reprlib.py b/Lib/test/test_reprlib.py index b0dc4d7..e476941 100644 --- a/Lib/test/test_reprlib.py +++ b/Lib/test/test_reprlib.py @@ -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): |