Skip to content

Commit

Permalink
Commit missing parts of 501de30.
Browse files Browse the repository at this point in the history
whitequark committed Mar 18, 2016
1 parent 501de30 commit 891e3cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion artiq/test/coredevice/test_rtio.py
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@

from artiq.experiment import *
from artiq.test.hardware_testbench import ExperimentCase
from artiq.coredevice import exceptions


artiq_low_latency = os.getenv("ARTIQ_LOW_LATENCY")
@@ -285,7 +286,7 @@ def test_address_collision(self):

def test_watchdog(self):
# watchdog only works on the device
with self.assertRaises(IOError):
with self.assertRaises(exceptions.WatchdogExpired):
self.execute(Watchdog)

@unittest.skipUnless(artiq_low_latency,

0 comments on commit 891e3cf

Please sign in to comment.