From 6dcae857a7a1ad333508400bda6d3c218e70d5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Labb=C3=A9?= Date: Mon, 7 Dec 2020 14:50:04 -0300 Subject: [PATCH] Remove 'test_get_parent_dir_with_file' --- test/test_inference/test_sys_path.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/test_inference/test_sys_path.py b/test/test_inference/test_sys_path.py index d22cc2e0..2fa0e4df 100644 --- a/test/test_inference/test_sys_path.py +++ b/test/test_inference/test_sys_path.py @@ -108,13 +108,3 @@ def test_transform_path_to_dotted(sys_path_, module_path, expected, is_package): module_path = os.path.abspath(module_path) assert sys_path.transform_path_to_dotted(sys_path_, Path(module_path)) \ == (expected, is_package) - - -@pytest.mark.parametrize( - 'path,filename,expected', [ - (Path(__file__).parents[1], "setup.py", Path(__file__).parents[2]), - (Path(__file__).parents[2], os.path.basename(__file__), None) - ] -) -def test_get_parent_dir_with_file(path, filename, expected): - assert sys_path._get_parent_dir_with_file(path, filename) == expected