From 3485c834296df3b2828b65038a7e02d4085dd360 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 21 Nov 2016 06:40:47 +0000 Subject: [PATCH] Fix tests. --- artiq/test/coredevice/test_rtio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/test/coredevice/test_rtio.py b/artiq/test/coredevice/test_rtio.py index c55e44c1f..55e91f16f 100644 --- a/artiq/test/coredevice/test_rtio.py +++ b/artiq/test/coredevice/test_rtio.py @@ -403,7 +403,7 @@ class CoredeviceTest(ExperimentCase): 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)