We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9297743 commit 8447c99Copy full SHA for 8447c99
tests/test_api.py
@@ -866,7 +866,11 @@ def setUp(self):
866
# Since we need to import from there, we also add it to the beginning
867
# of sys.path.
868
869
- shutil.copytree(nice_file(TESTS_DIR, "modules"), "tests_dir_modules")
+ shutil.copytree(
870
+ nice_file(TESTS_DIR, "modules"),
871
+ "tests_dir_modules",
872
+ ignore=shutil.ignore_patterns("__pycache__"),
873
+ )
874
sys.path.insert(0, abs_file("tests_dir_modules"))
875
876
def coverage_usepkgs(self, **kwargs):
0 commit comments