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
1 changed files with 1 additions and 1 deletions

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: