summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_index.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-08-15 00:25:04 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-08-15 00:25:04 (GMT)
commitc02c1c8a12af6f3648a76bf7d187e811bff5ade7 (patch)
treeff12726204e912a11530f4563b95483b5e57d171 /Lib/test/test_index.py
parent9dc7b7ce82562c07fc7077124ef46ca15f5b9528 (diff)
downloadcpython-c02c1c8a12af6f3648a76bf7d187e811bff5ade7.zip
cpython-c02c1c8a12af6f3648a76bf7d187e811bff5ade7.tar.gz
cpython-c02c1c8a12af6f3648a76bf7d187e811bff5ade7.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_index.py')
-rw-r--r--Lib/test/test_index.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_index.py b/Lib/test/test_index.py
index 1081b53..6ad7d5e 100644
--- a/Lib/test/test_index.py
+++ b/Lib/test/test_index.py
@@ -29,7 +29,7 @@ class BaseTestCase(unittest.TestCase):
self.n.ind = 2
self.assertEqual(operator.index(self.o), -2)
self.assertEqual(operator.index(self.n), 2)
-
+
def test_slice(self):
self.o.ind = 1
self.n.ind = 2
@@ -53,7 +53,7 @@ class BaseTestCase(unittest.TestCase):
self.failUnlessRaises(TypeError, operator.index, TrapLong())
self.failUnless(slice(TrapInt()).indices(0)==(0,0,1))
self.failUnlessRaises(TypeError, slice(TrapLong()).indices, 0)
-
+
def test_error(self):
self.o.ind = 'dumb'
self.n.ind = 'bad'