[Python-checkins] CVS: python/dist/src/Lib/test test_repr.py,1.10,1.11

Neal Norwitz nnorwitz@users.sourceforge.net
Fri, 28 Dec 2001 16:25:44 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv17061

Modified Files:
	test_repr.py 
Log Message:
SF Patch #494872 test repr() of a built-in module

Index: test_repr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_repr.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_repr.py	2001/10/29 22:25:44	1.10
--- test_repr.py	2001/12/29 00:25:42	1.11
***************
*** 200,203 ****
--- 200,204 ----
          eq(repr(areallylongpackageandmodulenametotestreprtruncation),
             "<module 'areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation' from '%s'>" % areallylongpackageandmodulenametotestreprtruncation.__file__)
+         eq(repr(sys), "<module 'sys' (built-in)>")
  
      def test_type(self):