diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2001-12-29 00:25:42 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2001-12-29 00:25:42 (GMT) |
commit | 707690132fc28773843eb154c8c8c1599c4fe5c8 (patch) | |
tree | f8a033d25c72fa86e4672ef33277d70c4ece480e /Lib/test | |
parent | 26e5341c003066cae00c01e76384b47739cd6f7d (diff) | |
download | cpython-707690132fc28773843eb154c8c8c1599c4fe5c8.zip cpython-707690132fc28773843eb154c8c8c1599c4fe5c8.tar.gz cpython-707690132fc28773843eb154c8c8c1599c4fe5c8.tar.bz2 |
SF Patch #494872 test repr() of a built-in module
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_repr.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py index a659002..89df890 100644 --- a/Lib/test/test_repr.py +++ b/Lib/test/test_repr.py @@ -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 |