Don't use 'is not' to compare strings.
(spotted by reading pypy-svn :)
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 @@
 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: