Commit 099cb568 authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team

testRunner: Err… What was this WindowsError?

Vidjil is POSIX-compliant. Not W......-compliant
parent 5dc21501
......@@ -184,7 +184,7 @@ def custom_execfile(test_file):
sys.path.append(os.path.split(test_file)[0]) # to support imports form current folder in the testfiles
g=copy(globals())
execfile(test_file, g)
except (WindowsError,ValueError,SystemExit):
except (OSError,ValueError,SystemExit):
pass # we know about the rotating logger error...
# and SystemExit is not useful to detect
except:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment