summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_class.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py
index a564f73..92c220e 100644
--- a/Lib/test/test_class.py
+++ b/Lib/test/test_class.py
@@ -353,7 +353,7 @@ class A:
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: