From 82ed28955d5c0953a7a915e4ce261b32fdaede02 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 25 Dec 2019 15:02:35 +0100 Subject: [PATCH] Fix tests --- test/test_inference/test_imports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_inference/test_imports.py b/test/test_inference/test_imports.py index 15b511cd..5d628d05 100644 --- a/test/test_inference/test_imports.py +++ b/test/test_inference/test_imports.py @@ -381,7 +381,7 @@ def test_relative_imports_with_outside_paths(Script): path=os.path.join(dir, 'api/whatever/test_this.py'), _project=project, ) - assert [c.name for c in script.complete()] == ['import'] + assert not script.complete() @cwd_at('test/examples/issue1209/api/whatever/')