adding OSError for linux
This commit is contained in:
@@ -28,7 +28,7 @@ class SimpleViewTest(TestCase):
|
||||
for workout in self.user_workouts:
|
||||
try:
|
||||
os.remove(workout.csvfilename)
|
||||
except (IOError, WindowsError):
|
||||
except (IOError, WindowsError,OSError):
|
||||
pass
|
||||
|
||||
def start_protrial(self):
|
||||
|
||||
Reference in New Issue
Block a user