From 3353a2ec4759eef7bfbd892b040cf1bd1ac3298c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 21 May 2007 18:14:54 +0000 Subject: [PATCH] Make test_repr.py pass again after repr(range(1)) changed. --- Lib/test/test_repr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py index 120a3cd6f1..bcb5a32b39 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)') -- 2.40.0