[pypy-svn] pypy default: Skip two calls to sys.getrefcount

amauryfa commits-noreply at bitbucket.org
Thu Feb 10 11:41:34 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r41770:e934bba15959
Date: 2011-02-10 11:28 +0100
http://bitbucket.org/pypy/pypy/changeset/e934bba15959/

Log:	Skip two calls to sys.getrefcount

diff --git a/lib-python/modified-2.7.0/test/test_xml_etree.py b/lib-python/modified-2.7.0/test/test_xml_etree.py
--- a/lib-python/modified-2.7.0/test/test_xml_etree.py
+++ b/lib-python/modified-2.7.0/test/test_xml_etree.py
@@ -1628,10 +1628,10 @@
 
     Check reference leak.
     >>> xmltoolkit63()
-    >>> count = sys.getrefcount(None)
+    >>> count = sys.getrefcount(None)  #doctest: +SKIP
     >>> for i in range(1000):
     ...     xmltoolkit63()
-    >>> sys.getrefcount(None) - count
+    >>> sys.getrefcount(None) - count  #doctest: +SKIP
     0
 
     """


More information about the Pypy-commit mailing list