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