Private
Public Access
1
0

adding OSError for linux

This commit is contained in:
Sander Roosendaal
2019-02-08 21:06:15 +01:00
parent 98a4c36631
commit 0545ee6d06
18 changed files with 72590 additions and 85 deletions

View File

@@ -42,7 +42,7 @@ workout run
if not os.path.isdir(path):
try:
os.remove(path)
except (IOError,WindowsError):
except (IOError,WindowsError,OSError):
pass
@patch('rowers.dataprep.create_engine')
@@ -131,7 +131,7 @@ race 1
if not os.path.isdir(path):
try:
os.remove(path)
except (IOError,WindowsError):
except (IOError,WindowsError,OSError):
pass
@patch('rowers.dataprep.create_engine')
@@ -191,7 +191,7 @@ race 1
if not os.path.isdir(path):
try:
os.remove(path)
except (IOError,WindowsError):
except (IOError,WindowsError,OSError):
pass
@patch('rowers.dataprep.create_engine')