[pypy-svn] pypy default: Hah, you expect this to work anywhere, I'm sure. :-)
arigo
commits-noreply at bitbucket.org
Fri Jan 21 16:28:41 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r41147:ac2d26c2cd61
Date: 2011-01-21 16:28 +0100
http://bitbucket.org/pypy/pypy/changeset/ac2d26c2cd61/
Log: Hah, you expect this to work anywhere, I'm sure. :-)
diff --git a/lib-python/modified-2.7.0/test/test_descr.py b/lib-python/modified-2.7.0/test/test_descr.py
--- a/lib-python/modified-2.7.0/test/test_descr.py
+++ b/lib-python/modified-2.7.0/test/test_descr.py
@@ -1128,7 +1128,7 @@
# Test lookup leaks [SF bug 572567]
import gc
- if hasattr(gc, 'get_objects'):
+ if test_support.check_impl_detail():
class G(object):
def __cmp__(self, other):
return 0
More information about the Pypy-commit
mailing list