From: Luke Kenneth Casson Leighton Date: Mon, 13 Jul 2020 18:12:22 +0000 (+0100) Subject: import globally not locally. X-Git-Tag: 24jan2021_ls180~38 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b2b15d90b40cb78b0fa7a25179c7b46d1d8e340;p=nmutil.git import globally not locally. relative imports only work when the cwd from which they are run is the top-level directory --- 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