diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2021-09-02 10:28:28 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-02 10:28:28 -0600 |
| commit | 95d254027f2fb526fe4c745f330e6fa448a7e4db (patch) | |
| tree | dceb9f90936601187aa6450139cdf26912b4db3b /numpy/f2py/tests/util.py | |
| parent | 47368730049ac394c50d2b73fa51e671c1320984 (diff) | |
| parent | 7ad8ea7b11e3544b133d8b397dd3bbe4833d3308 (diff) | |
| download | numpy-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.py | 2 |
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 |
