1
0
forked from VimPlug/jedi

Skip the namespace package test correctly

This commit is contained in:
Dave Halter
2023-07-27 10:07:16 +02:00
parent 5f19237a3e
commit 67d6262f45

View File

@@ -54,7 +54,8 @@ def test_rename_mod(Script, dir_with_content):
''').format(dir=dir_with_content)
def test_namespace_package(Script, tmpdir, skip_pre_python38):
@pytest.mark.skipif('sys.version_info[:2] < (3, 8)', message="Python 3.8 introduces dirs_exist_ok")
def test_namespace_package(Script, tmpdir):
origin = get_example_dir('implicit_namespace_package')
shutil.copytree(origin, tmpdir.strpath, dirs_exist_ok=True)
sys_path = [