fix imports in LFSR test
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 10 May 2019 04:57:42 +0000 (05:57 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 10 May 2019 04:57:42 +0000 (05:57 +0100)
src/TLB/test/test_LFSR2.py

index 889a042f7ed558f13961be087d1215eda8d31559..c05f55b746c5a7e4c01f6c4d561bb9280579acea 100644 (file)
@@ -1,9 +1,6 @@
 # SPDX-License-Identifier: LGPL-2.1-or-later
 # See Notices.txt for copyright information
-import sys
-sys.path.append("../src")
-sys.path.append("../../TestUtil")
-from LFSR import LFSR, LFSRPolynomial, LFSR_POLY_3
+from TLB.LFSR import LFSR, LFSRPolynomial, LFSR_POLY_3
 
 from nmigen.back.pysim import Simulator, Delay, Tick
 import unittest
@@ -70,3 +67,4 @@ class TestLFSR(unittest.TestCase):
 
             sim.add_process(async_process)
             sim.run()
+