[pypy-svn] r34898 - pypy/dist/lib-python/modified-2.4.1/test

mwh at codespeak.net mwh at codespeak.net
Thu Nov 23 15:32:17 CET 2006


Author: mwh
Date: Thu Nov 23 15:32:15 2006
New Revision: 34898

Modified:
   pypy/dist/lib-python/modified-2.4.1/test/test_descr.py
Log:
i don't think we care if del C.__bases__ raises TypeError or AttributeError


Modified: pypy/dist/lib-python/modified-2.4.1/test/test_descr.py
==============================================================================
--- pypy/dist/lib-python/modified-2.4.1/test/test_descr.py	(original)
+++ pypy/dist/lib-python/modified-2.4.1/test/test_descr.py	Thu Nov 23 15:32:15 2006
@@ -3456,7 +3456,7 @@
 
     try:
         del D.__bases__
-    except TypeError:
+    except (AttributeError, TypeError):
         pass
     else:
         raise TestFailed, "shouldn't be able to delete .__bases__"



More information about the Pypy-commit mailing list