Commit 70769013 authored by Neal Norwitz's avatar Neal Norwitz

SF Patch #494872 test repr() of a built-in module

parent 26e5341c
......@@ -199,6 +199,7 @@ class LongReprTest(unittest.TestCase):
from areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation import areallylongpackageandmodulenametotestreprtruncation
eq(repr(areallylongpackageandmodulenametotestreprtruncation),
"<module 'areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation' from '%s'>" % areallylongpackageandmodulenametotestreprtruncation.__file__)
eq(repr(sys), "<module 'sys' (built-in)>")
def test_type(self):
eq = self.assertEquals
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment