From ba6154c314b69d41b344434ae299eabac6f1d79f Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 11 Jan 2020 21:59:21 +0100 Subject: [PATCH] Move the absolute import test files --- pytest.ini | 2 +- .../absolute_import/local_module.py | 0 test/{test_inference => examples}/absolute_import/unittest.py | 0 test/test_inference/test_absolute_import.py | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename test/{test_inference => examples}/absolute_import/local_module.py (100%) rename test/{test_inference => examples}/absolute_import/unittest.py (100%) diff --git a/pytest.ini b/pytest.ini index 6bb988ae..e8686706 100644 --- a/pytest.ini +++ b/pytest.ini @@ -2,7 +2,7 @@ addopts = --doctest-modules # Ignore broken files in blackbox test directories -norecursedirs = .* docs completion refactor absolute_import namespace_package +norecursedirs = .* docs completion refactor namespace_package scripts extensions speed static_analysis not_in_sys_path sample_venvs init_extension_module simple_import jedi/third_party diff --git a/test/test_inference/absolute_import/local_module.py b/test/examples/absolute_import/local_module.py similarity index 100% rename from test/test_inference/absolute_import/local_module.py rename to test/examples/absolute_import/local_module.py diff --git a/test/test_inference/absolute_import/unittest.py b/test/examples/absolute_import/unittest.py similarity index 100% rename from test/test_inference/absolute_import/unittest.py rename to test/examples/absolute_import/unittest.py diff --git a/test/test_inference/test_absolute_import.py b/test/test_inference/test_absolute_import.py index 9d3e518d..3bf9dd2e 100644 --- a/test/test_inference/test_absolute_import.py +++ b/test/test_inference/test_absolute_import.py @@ -5,7 +5,7 @@ Python 2.X) from .. import helpers -@helpers.cwd_at("test/test_inference/absolute_import") +@helpers.cwd_at("test/examples/absolute_import") def test_can_complete_when_shadowing(Script): script = Script(path="unittest.py") assert script.complete()