summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codeccallbacks.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2003-01-09 11:38:50 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2003-01-09 11:38:50 (GMT)
commit0cb27dd023aee4e964cd887e4c7dc2cf4f7be67e (patch)
treea2949a1c9ded4cb23b0bd64ada689a28aa57923f /Lib/test/test_codeccallbacks.py
parent4e051d459d7befbba539a0b08b11d70c33494419 (diff)
downloadcpython-0cb27dd023aee4e964cd887e4c7dc2cf4f7be67e.zip
cpython-0cb27dd023aee4e964cd887e4c7dc2cf4f7be67e.tar.gz
cpython-0cb27dd023aee4e964cd887e4c7dc2cf4f7be67e.tar.bz2
Make the test scripts work again with narrow Python builds.
Diffstat (limited to 'Lib/test/test_codeccallbacks.py')
-rw-r--r--Lib/test/test_codeccallbacks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_codeccallbacks.py b/Lib/test/test_codeccallbacks.py
index 0b664d9..47360ad 100644
--- 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>50000:
+ if sys.maxunicode>=100000:
v += (100000, 500000, 1000000)
s = u"".join([unichr(x) for x in v])
codecs.register_error("test.xmlcharrefreplace", codecs.xmlcharrefreplace_errors)
ef='/oss-git/hdf5.git/commit/test/vds_swmr_gen.c?h=feature/h5detect&id=b2d661b508a7fc7a2592c13bc6bdc175551f075d'>Clang-format of source filesAllen Byrne2020-09-301-93/+64 | * squash cast warning fixkmu2020-01-231-2/+4 | * Add support for GCC9, update warnhist script, and clean up warnings.Quincey Koziol2019-07-031-0/+46 | * Remove virtual dataset refresh code's direct use of native VOL plugin's ID.Quincey Koziol2018-10-271-1/+1 | * Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-25