[pypy-svn] r14072 - pypy/branch/dist-2.4.1/lib-python/modified-2.4.1/test
gintas at codespeak.net
gintas at codespeak.net
Fri Jul 1 21:40:20 CEST 2005
Author: gintas
Date: Fri Jul 1 21:40:19 2005
New Revision: 14072
Added:
pypy/branch/dist-2.4.1/lib-python/modified-2.4.1/test/test_class.py
- copied, changed from r14069, pypy/branch/dist-2.4.1/lib-python/2.4.1/test/test_class.py
Log:
Fixed test_class.
Copied: pypy/branch/dist-2.4.1/lib-python/modified-2.4.1/test/test_class.py (from r14069, pypy/branch/dist-2.4.1/lib-python/2.4.1/test/test_class.py)
==============================================================================
--- pypy/branch/dist-2.4.1/lib-python/2.4.1/test/test_class.py (original)
+++ pypy/branch/dist-2.4.1/lib-python/modified-2.4.1/test/test_class.py Fri Jul 1 21:40:19 2005
@@ -353,7 +353,7 @@
try:
A().a # Raised AttributeError: A instance has no attribute 'a'
except AttributeError, x:
- if str(x) is not "booh":
+ if str(x) != "booh":
print "attribute error for A().a got masked:", str(x)
class E:
More information about the Pypy-commit
mailing list