[Python-checkins] r70234 - python/branches/py3k/Lib/test/test_bigmem.py
antoine.pitrou
python-checkins at python.org
Sun Mar 8 00:52:26 CET 2009
Author: antoine.pitrou
Date: Sun Mar 8 00:52:26 2009
New Revision: 70234
Log:
Add notice about strange behaviour of the bigmem tests
Modified:
python/branches/py3k/Lib/test/test_bigmem.py
Modified: python/branches/py3k/Lib/test/test_bigmem.py
==============================================================================
--- python/branches/py3k/Lib/test/test_bigmem.py (original)
+++ python/branches/py3k/Lib/test/test_bigmem.py Sun Mar 8 00:52:26 2009
@@ -33,6 +33,10 @@
# memuse-per-size should remain sane (less than a few thousand); if your
# test uses more, adjust 'size' upward, instead.
+# BEWARE: it seems that one failing test can yield other subsequent tests to
+# fail as well. I do not know whether it is due to memory fragmentation
+# issues, or other specifics of the platform malloc() routine.
+
character_size = 4 if sys.maxunicode > 0xFFFF else 2
More information about the Python-checkins
mailing list