Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
whitequark committed Nov 21, 2016
1 parent 009d396 commit 3485c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/test/coredevice/test_rtio.py
Original file line number Diff line number Diff line change
@@ -403,7 +403,7 @@ def test_time_keeps_running(self):
self.execute(TimeKeepsRunning)
t2 = self.dataset_mgr.get("time_at_start")

dead_time = self.core.mu_to_seconds(t2 - t1, self.device_mgr.get("core"))
dead_time = self.device_mgr.get("core").mu_to_seconds(t2 - t1)
print(dead_time)
self.assertGreater(dead_time, 1*ms)
self.assertLess(dead_time, 2500*ms)

0 comments on commit 3485c83

Please sign in to comment.