diff options
Diffstat (limited to 'Lib/test/test_bytes.py')
-rw-r--r-- | Lib/test/test_bytes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py index 2b32767..0a6d446 100644 --- a/Lib/test/test_bytes.py +++ b/Lib/test/test_bytes.py @@ -773,7 +773,7 @@ class ByteArrayTest(BaseBytesTest): finally: try: os.remove(tfn) - except os.error: + except OSError: pass def test_reverse(self): |