mirror of https://github.com/m-labs/artiq.git
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
|
raise _MyException
|
||||||
elif i == 2:
|
elif i == 2:
|
||||||
raise IndexError
|
raise IndexError
|
||||||
except (TypeError, IndexError):
|
except IndexError:
|
||||||
self.trace.append(101)
|
self.trace.append(101)
|
||||||
raise
|
raise
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue