projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e051d4
)
Make the test scripts work again with narrow Python builds.
author
Walter Dörwald
<walter@livinglogic.de>
Thu, 9 Jan 2003 11:38:50 +0000
(11:38 +0000)
committer
Walter Dörwald
<walter@livinglogic.de>
Thu, 9 Jan 2003 11:38:50 +0000
(11:38 +0000)
Lib/test/test_codeccallbacks.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_codeccallbacks.py
b/Lib/test/test_codeccallbacks.py
index 0b664d9184273269cef09dd8517c9507861c55fa..47360adb6a5d4f68e29f635c0cac1655039072bf 100644
(file)
--- a/
Lib/test/test_codeccallbacks.py
+++ b/
Lib/test/test_codeccallbacks.py
@@
-506,7
+506,7
@@
class CodecCallbackTest(unittest.TestCase):
# Python/codecs.c::PyCodec_XMLCharRefReplaceErrors()
# and inline implementations
v = (1, 5, 10, 50, 100, 500, 1000, 5000, 10000, 50000)
- if sys.maxunicode>
5
0000:
+ if sys.maxunicode>
=10
0000:
v += (100000, 500000, 1000000)
s = u"".join([unichr(x) for x in v])
codecs.register_error("test.xmlcharrefreplace", codecs.xmlcharrefreplace_errors)