Closed leonardt closed 5 years ago
Ah, I see, the test expects an AssertionError
because it's designed to fail. However, when changing from shell=True
, we actually get
FileNotFoundError: [Errno 2] No such file or directory: 'irun': 'irun'
so that wasn't being caught by the except
statement.
Looks great, thanks!
The issue was that the test was not being skipped if
irun
was not available, but turns out the error code wasn't propagating withshell=True
which is strange