[pypy-commit] pypy default: No-op clarification.

arigo noreply at buildbot.pypy.org
Mon Nov 21 15:30:32 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r49620:5b572a486ead
Date: 2011-11-21 15:08 +0100
http://bitbucket.org/pypy/pypy/changeset/5b572a486ead/

Log:	No-op clarification.

diff --git a/pypy/rpython/test/test_rclass.py b/pypy/rpython/test/test_rclass.py
--- a/pypy/rpython/test/test_rclass.py
+++ b/pypy/rpython/test/test_rclass.py
@@ -462,7 +462,7 @@
         # the following property is essential on top of the lltypesystem
         # otherwise prebuilt dictionaries are broken.  It's wrong on
         # top of the ootypesystem though.
-        if type(self) is TestLLtype:
+        if isinstance(self, LLRtypeMixin):
             assert res.item2 == h_c
             assert res.item3 == h_d
 


More information about the pypy-commit mailing list