summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-05-21 18:01:17 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2007-05-21 18:01:17 (GMT)
commit4ad94210d1b8477b0cb7a4bca2f39dc385ab21a2 (patch)
tree6b7e2ff6bde963728e900c62a411c7a06a7e3a01 /Lib/test
parent03b43d8a77f188f836262c201160a7ba9f2174bc (diff)
downloadcpython-4ad94210d1b8477b0cb7a4bca2f39dc385ab21a2.zip
cpython-4ad94210d1b8477b0cb7a4bca2f39dc385ab21a2.tar.gz
cpython-4ad94210d1b8477b0cb7a4bca2f39dc385ab21a2.tar.bz2
Rename test_xrange.py to test_range.py and fix the
type name in various spots.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_range.py (renamed from Lib/test/test_xrange.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_xrange.py b/Lib/test/test_range.py
index 3a5adf2..65433d4 100644
--- a/Lib/test/test_xrange.py
+++ b/Lib/test/test_range.py
@@ -7,8 +7,8 @@ import warnings
warnings.filterwarnings("ignore", "integer argument expected",
DeprecationWarning, "unittest")
-class XrangeTest(unittest.TestCase):
- def test_xrange(self):
+class RangeTest(unittest.TestCase):
+ def test_range(self):
self.assertEqual(list(range(3)), [0, 1, 2])
self.assertEqual(list(range(1, 5)), [1, 2, 3, 4])
self.assertEqual(list(range(0)), [])