From c02c1c8a12af6f3648a76bf7d187e811bff5ade7 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 15 Aug 2006 00:25:04 +0000 Subject: Whitespace normalization. --- Lib/Cookie.py | 2 +- Lib/test/test_index.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/Cookie.py b/Lib/Cookie.py index 33bc4c0..e1eb734 100644 --- a/Lib/Cookie.py +++ b/Lib/Cookie.py @@ -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, 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' -- cgit v0.12