From e509ab85531df2daec1ad271d4ba949d7cb86468 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 9 Nov 2018 22:10:46 +0800 Subject: [PATCH] test/dsp: use absolute import path Avoids "ImportError: attempted relative import with no known parent package" when doing a simple "python -m unittest test_XXX.py". --- artiq/gateware/test/dsp/test_sawg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gateware/test/dsp/test_sawg.py b/artiq/gateware/test/dsp/test_sawg.py index a5eea31bd..fd392607d 100644 --- a/artiq/gateware/test/dsp/test_sawg.py +++ b/artiq/gateware/test/dsp/test_sawg.py @@ -4,7 +4,7 @@ from migen import * from migen.fhdl.verilog import convert from artiq.gateware.dsp import sawg -from .tools import xfer +from artiq.gateware.test.dsp.tools import xfer def _test_gen_dds(dut, o):