Don't be so strict in checking AttributeError -- the error message
recently changed.
diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py
index 74d9ef2..6cca199 100644
--- a/Lib/test/test_extcall.py
+++ b/Lib/test/test_extcall.py
@@ -50,7 +50,7 @@
try:
g(*Nothing())
except AttributeError, attr:
- assert attr[0] == '__len__'
+ pass
else:
print "should raise AttributeError: __len__"
@@ -60,7 +60,7 @@
try:
g(*Nothing())
except AttributeError, attr:
- assert attr[0] == '__getitem__'
+ pass
else:
print "should raise AttributeError: __getitem__"