From cc34c7d4f39b4ae368096e3b3c73da09d0d2385e Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sun, 12 Jan 2020 00:55:01 +0100 Subject: [PATCH] Move not_in_sys_path tests to examples --- test/{test_inference => examples}/not_in_sys_path/__init__.py | 0 .../not_in_sys_path/not_in_sys_path.py | 0 .../not_in_sys_path/not_in_sys_path_package/__init__.py | 0 .../not_in_sys_path/not_in_sys_path_package/module.py | 0 .../not_in_sys_path/pkg/__init__.py | 0 test/{test_inference => examples}/not_in_sys_path/pkg/module.py | 0 test/test_inference/test_imports.py | 2 +- 7 files changed, 1 insertion(+), 1 deletion(-) rename test/{test_inference => examples}/not_in_sys_path/__init__.py (100%) rename test/{test_inference => examples}/not_in_sys_path/not_in_sys_path.py (100%) rename test/{test_inference => examples}/not_in_sys_path/not_in_sys_path_package/__init__.py (100%) rename test/{test_inference => examples}/not_in_sys_path/not_in_sys_path_package/module.py (100%) rename test/{test_inference => examples}/not_in_sys_path/pkg/__init__.py (100%) rename test/{test_inference => examples}/not_in_sys_path/pkg/module.py (100%) diff --git a/test/test_inference/not_in_sys_path/__init__.py b/test/examples/not_in_sys_path/__init__.py similarity index 100% rename from test/test_inference/not_in_sys_path/__init__.py rename to test/examples/not_in_sys_path/__init__.py diff --git a/test/test_inference/not_in_sys_path/not_in_sys_path.py b/test/examples/not_in_sys_path/not_in_sys_path.py similarity index 100% rename from test/test_inference/not_in_sys_path/not_in_sys_path.py rename to test/examples/not_in_sys_path/not_in_sys_path.py diff --git a/test/test_inference/not_in_sys_path/not_in_sys_path_package/__init__.py b/test/examples/not_in_sys_path/not_in_sys_path_package/__init__.py similarity index 100% rename from test/test_inference/not_in_sys_path/not_in_sys_path_package/__init__.py rename to test/examples/not_in_sys_path/not_in_sys_path_package/__init__.py diff --git a/test/test_inference/not_in_sys_path/not_in_sys_path_package/module.py b/test/examples/not_in_sys_path/not_in_sys_path_package/module.py similarity index 100% rename from test/test_inference/not_in_sys_path/not_in_sys_path_package/module.py rename to test/examples/not_in_sys_path/not_in_sys_path_package/module.py diff --git a/test/test_inference/not_in_sys_path/pkg/__init__.py b/test/examples/not_in_sys_path/pkg/__init__.py similarity index 100% rename from test/test_inference/not_in_sys_path/pkg/__init__.py rename to test/examples/not_in_sys_path/pkg/__init__.py diff --git a/test/test_inference/not_in_sys_path/pkg/module.py b/test/examples/not_in_sys_path/pkg/module.py similarity index 100% rename from test/test_inference/not_in_sys_path/pkg/module.py rename to test/examples/not_in_sys_path/pkg/module.py diff --git a/test/test_inference/test_imports.py b/test/test_inference/test_imports.py index 4859e6ce..9c69273e 100644 --- a/test/test_inference/test_imports.py +++ b/test/test_inference/test_imports.py @@ -109,7 +109,7 @@ def test_find_module_not_package_zipped(Script, inference_state, environment): assert is_package is False -@cwd_at('test/test_inference/not_in_sys_path/pkg') +@cwd_at('test/examples/not_in_sys_path/pkg') def test_import_not_in_sys_path(Script): """ non-direct imports (not in sys.path)