[Python-3000-checkins] r55494 - python/branches/py3k-struni/Lib/test/test_repr.py

guido.van.rossum python-3000-checkins at python.org
Mon May 21 20:14:57 CEST 2007


Author: guido.van.rossum
Date: Mon May 21 20:14:54 2007
New Revision: 55494

Modified:
   python/branches/py3k-struni/Lib/test/test_repr.py
Log:
Make test_repr.py pass again after repr(range(1)) changed.


Modified: python/branches/py3k-struni/Lib/test/test_repr.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/test_repr.py	(original)
+++ python/branches/py3k-struni/Lib/test/test_repr.py	Mon May 21 20:14:54 2007
@@ -137,7 +137,7 @@
 
     def test_range(self):
         eq = self.assertEquals
-        eq(repr(range(1)), 'range(1)')
+        eq(repr(range(1)), 'range(0, 1)')
         eq(repr(range(1, 2)), 'range(1, 2)')
         eq(repr(range(1, 4, 3)), 'range(1, 4, 3)')
 


More information about the Python-3000-checkins mailing list