summaryrefslogtreecommitdiffstats
path: root/Lib/test/tf_inherit_check.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/tf_inherit_check.py')
-rw-r--r--Lib/test/tf_inherit_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/tf_inherit_check.py b/Lib/test/tf_inherit_check.py
index 92ebd95..afe50d2 100644
--- a/Lib/test/tf_inherit_check.py
+++ b/Lib/test/tf_inherit_check.py
@@ -11,7 +11,7 @@ try:
try:
os.write(fd, b"blat")
- except os.error:
+ except OSError:
# Success -- could not write to fd.
sys.exit(0)
else: