[pypy-svn] r49635 - pypy/dist/pypy/objspace/std/test

arigo at codespeak.net arigo at codespeak.net
Tue Dec 11 18:04:13 CET 2007


Author: arigo
Date: Tue Dec 11 18:04:12 2007
New Revision: 49635

Modified:
   pypy/dist/pypy/objspace/std/test/test_versionedtype.py
Log:
I *think* that this behavior is also correct: changing __bases__
now changes the version_tag instead of always resetting it to None.


Modified: pypy/dist/pypy/objspace/std/test/test_versionedtype.py
==============================================================================
--- pypy/dist/pypy/objspace/std/test/test_versionedtype.py	(original)
+++ pypy/dist/pypy/objspace/std/test/test_versionedtype.py	Tue Dec 11 18:04:12 2007
@@ -62,7 +62,7 @@
                 pass
             B.__bases__ = (D, )
         """)
-        assert w_B.version_tag is None
+        assert w_B.version_tag is not btag
 
     def test_version_tag_of_builtin_types(self):
         space = self.space



More information about the Pypy-commit mailing list