Commit 3ea236cb authored by Tim Peters's avatar Tim Peters

Whitespace normalization.

parent 31f92309
......@@ -304,7 +304,7 @@ _Translator = {
'\372' : '\\372', '\373' : '\\373', '\374' : '\\374',
'\375' : '\\375', '\376' : '\\376', '\377' : '\\377'
}
_idmap = ''.join(chr(x) for x in xrange(256))
def _quote(str, LegalChars=_LegalChars,
......
......@@ -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'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment