[pypy-svn] r61077 - pypy/trunk/lib-python/modified-2.5.2/test
fijal at codespeak.net
fijal at codespeak.net
Sun Jan 18 12:27:01 CET 2009
Author: fijal
Date: Sun Jan 18 12:27:01 2009
New Revision: 61077
Modified:
pypy/trunk/lib-python/modified-2.5.2/test/test_descrtut.py
Log:
I take the liberty of declaring it as impl detail
Modified: pypy/trunk/lib-python/modified-2.5.2/test/test_descrtut.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/test_descrtut.py (original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_descrtut.py Sun Jan 18 12:27:01 2009
@@ -8,7 +8,7 @@
# of much interest anymore), and a few were fiddled to make the output
# deterministic.
-from test.test_support import sortdict
+from test.test_support import sortdict, check_impl_detail
import pprint
class defaultdict(dict):
@@ -145,7 +145,8 @@
"""
-test_3 = """
+if check_impl_detail():
+ test_3 = """
Introspecting instances of built-in types
@@ -468,13 +469,16 @@
__test__ = {"tut1": test_1,
"tut2": test_2,
- "tut3": test_3,
"tut4": test_4,
"tut5": test_5,
"tut6": test_6,
"tut7": test_7,
"tut8": test_8}
+if check_impl_detail():
+ __test__["tut3"] = test_3
+
+
# Magic test name that regrtest.py invokes *after* importing this module.
# This worms around a bootstrap problem.
# Note that doctest and regrtest both look in sys.argv for a "-v" argument,
More information about the Pypy-commit
mailing list