summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codeccallbacks.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-02-19 02:35:07 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-02-19 02:35:07 (GMT)
commitf2715e076435b74638acb81512c2ee014f75aea2 (patch)
tree8f50b5bca2f1d4d7c232894d907996f4104c3515 /Lib/test/test_codeccallbacks.py
parentf805cd2c1f4d850b1d933f39e63a61a3348ec224 (diff)
downloadcpython-f2715e076435b74638acb81512c2ee014f75aea2.zip
cpython-f2715e076435b74638acb81512c2ee014f75aea2.tar.gz
cpython-f2715e076435b74638acb81512c2ee014f75aea2.tar.bz2
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 bf583c2..f7a07ee 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"):