2
0
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:
whitequark 2015-12-29 02:18:38 +08:00
parent db05ec0277
commit 0dd71946b9

View File

@ -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: