mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
test.coredevice.portability.HostVsDeviceCase.test_exceptions: update.
TypeError would never be raised with the new compiler. It crashes in a different way now.
This commit is contained in:
parent
db05ec0277
commit
0dd71946b9
@ -142,7 +142,7 @@ class _Exceptions(EnvExperiment):
|
||||
raise _MyException
|
||||
elif i == 2:
|
||||
raise IndexError
|
||||
except (TypeError, IndexError):
|
||||
except IndexError:
|
||||
self.trace.append(101)
|
||||
raise
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user