From 8b2b15d90b40cb78b0fa7a25179c7b46d1d8e340 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 13 Jul 2020 19:12:22 +0100 Subject: [PATCH] import globally not locally. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nmutil/test/test_inout_feedback_pipe.py b/src/nmutil/test/test_inout_feedback_pipe.py index 140984e..621728e 100644 --- a/src/nmutil/test/test_inout_feedback_pipe.py +++ b/src/nmutil/test/test_inout_feedback_pipe.py @@ -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 -- 2.30.2