Update test/test_inference/test_imports.py

Co-authored-by: Peter Law <PeterJCLaw@gmail.com>
This commit is contained in:
Dave Halter
2020-10-21 22:32:33 +02:00
committed by GitHub
parent bf56103428
commit 5f2f4af851

View File

@@ -475,7 +475,7 @@ def test_relative_import_star(Script):
def test_relative_imports_without_path_and_setup_py(
Script, inference_state, environment, tmpdir, with_init):
# Contrary to other tests here we create a temporary folder that is not
# part of a folder with a setup py that signifies
# part of a folder with a setup.py that signifies
tmpdir.join('file1.py').write('do_foo = 1')
other_path = tmpdir.join('other_files')
other_path.join('file2.py').write('def do_nothing():\n pass', ensure=True)