summaryrefslogtreecommitdiff
path: root/Lib/test/test_codeccallbacks.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-02-19 02:35:07 +0000
committerTim Peters <tim.peters@gmail.com>2003-02-19 02:35:07 +0000
commitf37059a4fcfe2041e122400eb776133fea5fa8d2 (patch)
treec53b641329c599cdcfeb0f35f20aff8ce7a130e4 /Lib/test/test_codeccallbacks.py
parent44d273f4a1d1b4b9cbf3d154ac64e3188c408099 (diff)
downloadcpython-f37059a4fcfe2041e122400eb776133fea5fa8d2.tar.gz
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_codeccallbacks.py')
-rw-r--r--Lib/test/test_codeccallbacks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_codeccallbacks.py b/Lib/test/test_codeccallbacks.py
index bf583c25b0..f7a07ee52c 100644
--- a/Lib/test/test_codeccallbacks.py
+++ b/Lib/test/test_codeccallbacks.py
@@ -11,7 +11,7 @@ class PosReturn:
oldpos = self.pos
realpos = oldpos
if realpos<0:
- realpos = len(exc.object) + realpos
+ realpos = len(exc.object) + realpos
# if we don't advance this time, terminate on the next call
# otherwise we'd get an endless loop
if realpos <= exc.start:
@@ -532,7 +532,7 @@ class CodecCallbackTest(unittest.TestCase):
# and inline implementations
v = (1, 5, 10, 50, 100, 500, 1000, 5000, 10000, 50000)
if sys.maxunicode>=100000:
- v += (100000, 500000, 1000000)
+ v += (100000, 500000, 1000000)
s = u"".join([unichr(x) for x in v])
codecs.register_error("test.xmlcharrefreplace", codecs.xmlcharrefreplace_errors)
for enc in ("ascii", "iso-8859-15"):