diff options
author | Guido van Rossum <guido@python.org> | 2000-04-10 13:37:14 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-10 13:37:14 (GMT) |
commit | 4b49101f20461eb90aaa5cbec4992c989d5a36c8 (patch) | |
tree | 23e71b5036ed1dd3dc9eb41ed39d6fcab5dd81b5 /Lib/test | |
parent | 547e9520174873ef76619f8e0b5de8cc7a06006f (diff) | |
download | cpython-4b49101f20461eb90aaa5cbec4992c989d5a36c8.zip cpython-4b49101f20461eb90aaa5cbec4992c989d5a36c8.tar.gz cpython-4b49101f20461eb90aaa5cbec4992c989d5a36c8.tar.bz2 |
Don't be so strict in checking AttributeError -- the error message
recently changed.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_extcall.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ class Nothing: pass try: g(*Nothing()) except AttributeError, attr: - assert attr[0] == '__len__' + pass else: print "should raise AttributeError: __len__" @@ -60,7 +60,7 @@ class Nothing: try: g(*Nothing()) except AttributeError, attr: - assert attr[0] == '__getitem__' + pass else: print "should raise AttributeError: __getitem__" |