summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/util.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-09-02 10:28:28 -0600
committerGitHub <noreply@github.com>2021-09-02 10:28:28 -0600
commit95d254027f2fb526fe4c745f330e6fa448a7e4db (patch)
treedceb9f90936601187aa6450139cdf26912b4db3b /numpy/f2py/tests/util.py
parent47368730049ac394c50d2b73fa51e671c1320984 (diff)
parent7ad8ea7b11e3544b133d8b397dd3bbe4833d3308 (diff)
downloadnumpy-95d254027f2fb526fe4c745f330e6fa448a7e4db.tar.gz
Merge pull request #19815 from mwtoews/maint-ioerror
MAINT: revise OSError aliases (IOError, EnvironmentError)
Diffstat (limited to 'numpy/f2py/tests/util.py')
-rw-r--r--numpy/f2py/tests/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/tests/util.py b/numpy/f2py/tests/util.py
index d5fa76fed..eace3c9fc 100644
--- a/numpy/f2py/tests/util.py
+++ b/numpy/f2py/tests/util.py
@@ -36,7 +36,7 @@ def _cleanup():
pass
try:
shutil.rmtree(_module_dir)
- except (IOError, OSError):
+ except OSError:
pass
_module_dir = None