[pypy-svn] r66151 - pypy/trunk/pypy/tool/test

fijal at codespeak.net fijal at codespeak.net
Wed Jul 8 18:11:32 CEST 2009


Author: fijal
Date: Wed Jul  8 18:11:30 2009
New Revision: 66151

Added:
   pypy/trunk/pypy/tool/test/test_compat.py   (contents, props changed)
Log:
Test for pypy.tool.compat.BaseException. Unsure about the value of this one...


Added: pypy/trunk/pypy/tool/test/test_compat.py
==============================================================================
--- (empty file)
+++ pypy/trunk/pypy/tool/test/test_compat.py	Wed Jul  8 18:11:30 2009
@@ -0,0 +1,5 @@
+
+def test_base_exc():
+    from pypy.tool.compat import BaseException
+    assert KeyboardInterrupt.__mro__[-2] is BaseException
+    assert ValueError.__mro__[-2] is BaseException



More information about the Pypy-commit mailing list