[pypy-svn] r9957 - pypy/dist/lib-python-2.3.4/test
ac at codespeak.net
ac at codespeak.net
Sun Mar 20 23:09:17 CET 2005
Author: ac
Date: Sun Mar 20 23:09:17 2005
New Revision: 9957
Modified:
pypy/dist/lib-python-2.3.4/test/pypy_unittest.py
Log:
Make sure we get the message in calls to fail().
Modified: pypy/dist/lib-python-2.3.4/test/pypy_unittest.py
==============================================================================
--- pypy/dist/lib-python-2.3.4/test/pypy_unittest.py (original)
+++ pypy/dist/lib-python-2.3.4/test/pypy_unittest.py Sun Mar 20 23:09:17 2005
@@ -37,7 +37,7 @@
assert not expr, msg
def fail(self, msg):
- assert False, msg
+ raise AssertionError(msg)
def assertRaises(self, exc, call, *args, **kwargs):
raises(exc, call, *args, **kwargs)
More information about the Pypy-commit
mailing list