import globally not locally.
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 13 Jul 2020 18:12:22 +0000 (19:12 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 13 Jul 2020 18:12:22 +0000 (19:12 +0100)
relative imports only work when the cwd from which they are run
is the top-level directory

src/nmutil/test/test_inout_feedback_pipe.py

index 140984ea00f7d67bf5d01e9201f4fb516f3d35cd..621728ecc80f63c3898adeb5f01e327cbb7991cd 100644 (file)
@@ -16,7 +16,7 @@ from nmutil.multipipe import CombMultiOutPipeline, CombMuxOutPipe
 from nmutil.multipipe import PriorityCombMuxInPipe
 from nmutil.singlepipe import MaskCancellable, RecordObject, Object
 
-from . import StepLimiter
+from nmutil.test import StepLimiter
 import unittest