summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_index.py
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2006-03-30 12:59:11 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2006-03-30 12:59:11 (GMT)
commit4ef3a23a35a391602202dce10376be9e43588fa6 (patch)
treec7310a78fc2ce187a6d79d84fa1f4d5e8afcd8f3 /Lib/test/test_index.py
parentecdc0a9f4609e3be57e5f8a54dac2ea8e9607aed (diff)
downloadcpython-4ef3a23a35a391602202dce10376be9e43588fa6.zip
cpython-4ef3a23a35a391602202dce10376be9e43588fa6.tar.gz
cpython-4ef3a23a35a391602202dce10376be9e43588fa6.tar.bz2
whitespace normalisation
Diffstat (limited to 'Lib/test/test_index.py')
-rw-r--r--Lib/test/test_index.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/Lib/test/test_index.py b/Lib/test/test_index.py
index c7150cd..770d1cd 100644
--- a/Lib/test/test_index.py
+++ b/Lib/test/test_index.py
@@ -17,7 +17,7 @@ class ListTestCase(unittest.TestCase):
self.n = newstyle()
self.o2 = oldstyle()
self.n2 = newstyle()
-
+
def test_basic(self):
self.o.ind = -2
self.n.ind = 2
@@ -25,7 +25,7 @@ class ListTestCase(unittest.TestCase):
assert(self.seq[self.o] == 40)
assert(operator.index(self.o) == -2)
assert(operator.index(self.n) == 2)
-
+
def test_error(self):
self.o.ind = 'dumb'
self.n.ind = 'bad'
@@ -50,8 +50,8 @@ class TupleTestCase(unittest.TestCase):
self.n = newstyle()
self.o2 = oldstyle()
self.n2 = newstyle()
-
-
+
+
def test_basic(self):
self.o.ind = -2
self.n.ind = 2
@@ -59,7 +59,7 @@ class TupleTestCase(unittest.TestCase):
assert(self.seq[self.o] == 40)
assert(operator.index(self.o) == -2)
assert(operator.index(self.n) == 2)
-
+
def test_error(self):
self.o.ind = 'dumb'
self.n.ind = 'bad'
@@ -84,8 +84,8 @@ class StringTestCase(unittest.TestCase):
self.n = newstyle()
self.o2 = oldstyle()
self.n2 = newstyle()
-
-
+
+
def test_basic(self):
self.o.ind = -2
self.n.ind = 2
@@ -93,7 +93,7 @@ class StringTestCase(unittest.TestCase):
assert(self.seq[self.o] == self.seq[-2])
assert(operator.index(self.o) == -2)
assert(operator.index(self.n) == 2)
-
+
def test_error(self):
self.o.ind = 'dumb'
self.n.ind = 'bad'
@@ -119,8 +119,8 @@ class UnicodeTestCase(unittest.TestCase):
self.n = newstyle()
self.o2 = oldstyle()
self.n2 = newstyle()
-
-
+
+
def test_basic(self):
self.o.ind = -2
self.n.ind = 2
@@ -128,7 +128,7 @@ class UnicodeTestCase(unittest.TestCase):
assert(self.seq[self.o] == self.seq[-2])
assert(operator.index(self.o) == -2)
assert(operator.index(self.n) == 2)
-
+
def test_error(self):
self.o.ind = 'dumb'
self.n.ind = 'bad'