From 0dd71946b9a53a97ef09467b1886346bcc47222d Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 29 Dec 2015 02:18:38 +0800 Subject: [PATCH] test.coredevice.portability.HostVsDeviceCase.test_exceptions: update. TypeError would never be raised with the new compiler. It crashes in a different way now. --- artiq/test/coredevice/portability.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/test/coredevice/portability.py b/artiq/test/coredevice/portability.py index 32ba1e74c..cf8c8ccf0 100644 --- a/artiq/test/coredevice/portability.py +++ b/artiq/test/coredevice/portability.py @@ -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: