[pypy-svn] r59554 - pypy/trunk/lib-python/modified-2.5.2/test

arigo at codespeak.net arigo at codespeak.net
Thu Oct 30 13:04:53 CET 2008


Author: arigo
Date: Thu Oct 30 13:04:53 2008
New Revision: 59554

Modified:
   pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py
Log:
Generalize the catch.


Modified: pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_descr.py	Thu Oct 30 13:04:53 2008
@@ -3788,7 +3788,7 @@
 
     try:
         del D.__bases__
-    except TypeError:
+    except (TypeError, AttributeError):
         pass
     else:
         raise TestFailed, "shouldn't be able to delete .__bases__"



More information about the Pypy-commit mailing list