commit | c262a69f545b0a7048bb45a2ede7065fd9826ab8 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Jun 30 18:41:08 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Jun 30 18:41:08 2010 +0000 |
tree | 54c4d0aee328fe38ad238d31948ee3ba946eca77 | |
parent | e00e2f008230c07e54c14f750c99fb755aa96dfc [diff] |
an AttributeError is perfectly acceptable here
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index a60107b..de1d06e 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py
@@ -211,7 +211,7 @@ try: result.st_mode = 1 self.fail("No exception thrown") - except TypeError: + except (AttributeError, TypeError): pass try: