summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-05-21 18:14:54 (GMT)
committerGuido van Rossum <guido@python.org>2007-05-21 18:14:54 (GMT)
commit3353a2ec4759eef7bfbd892b040cf1bd1ac3298c (patch)
tree07f2cc9b7e8d419514f71f0fd23c6f0346f3ef51 /Lib/test
parent813b0e5b6d53aff62ba1b3b69a8592e46687e093 (diff)
downloadcpython-3353a2ec4759eef7bfbd892b040cf1bd1ac3298c.zip
cpython-3353a2ec4759eef7bfbd892b040cf1bd1ac3298c.tar.gz
cpython-3353a2ec4759eef7bfbd892b040cf1bd1ac3298c.tar.bz2
Make test_repr.py pass again after repr(range(1)) changed.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_repr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py
index 120a3cd..bcb5a32 100644
--- a/Lib/test/test_repr.py
+++ b/Lib/test/test_repr.py
@@ -137,7 +137,7 @@ class ReprTests(unittest.TestCase):
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)')