[pypy-svn] r15704 - pypy/dist/lib-python/modified-2.4.1/test

pedronis at codespeak.net pedronis at codespeak.net
Fri Aug 5 18:47:35 CEST 2005


Author: pedronis
Date: Fri Aug  5 18:47:32 2005
New Revision: 15704

Added:
   pypy/dist/lib-python/modified-2.4.1/test/mapping_tests.py
      - copied, changed from r15683, pypy/dist/lib-python/2.4.1/test/mapping_tests.py
   pypy/dist/lib-python/modified-2.4.1/test/test_dict.py
      - copied, changed from r15683, pypy/dist/lib-python/2.4.1/test/test_dict.py
Log:
set iterations number to more approachable values



Copied: pypy/dist/lib-python/modified-2.4.1/test/mapping_tests.py (from r15683, pypy/dist/lib-python/2.4.1/test/mapping_tests.py)
==============================================================================
--- pypy/dist/lib-python/2.4.1/test/mapping_tests.py	(original)
+++ pypy/dist/lib-python/modified-2.4.1/test/mapping_tests.py	Fri Aug  5 18:47:32 2005
@@ -510,7 +510,7 @@
         for copymode in -1, +1:
             # -1: b has same structure as a
             # +1: b is a.copy()
-            for log2size in range(12):
+            for log2size in range(4): # XXX 12 too large for PyPy
                 size = 2**log2size
                 a = self._empty_mapping()
                 b = self._empty_mapping()

Copied: pypy/dist/lib-python/modified-2.4.1/test/test_dict.py (from r15683, pypy/dist/lib-python/2.4.1/test/test_dict.py)
==============================================================================
--- pypy/dist/lib-python/2.4.1/test/test_dict.py	(original)
+++ pypy/dist/lib-python/modified-2.4.1/test/test_dict.py	Fri Aug  5 18:47:32 2005
@@ -285,7 +285,7 @@
         for copymode in -1, +1:
             # -1: b has same structure as a
             # +1: b is a.copy()
-            for log2size in range(12):
+            for log2size in range(4): # XXX 12 too large for PyPy
                 size = 2**log2size
                 a = {}
                 b = {}



More information about the Pypy-commit mailing list