Skip to content

Instantly share code, notes, and snippets.

@jctanner
Created January 15, 2018 17:23
Show Gist options
  • Select an option

  • Save jctanner/dd4352a16c8bbbc4db107e7dcf810324 to your computer and use it in GitHub Desktop.

Select an option

Save jctanner/dd4352a16c8bbbc4db107e7dcf810324 to your computer and use it in GitHub Desktop.
diff --git a/test/runner/lib/target.py b/test/runner/lib/target.py
index 3038eda..760303f 100644
--- a/test/runner/lib/target.py
+++ b/test/runner/lib/target.py
@@ -291,7 +291,7 @@ def walk_test_targets(path=None, module_path=None, extensions=None,
:type extra_dirs: tuple[str] | None
:rtype: collections.Iterable[TestTarget]
"""
- for root, _, file_names in os.walk(path or '.', topdown=False):
+ for root, _, file_names in os.walk(path or '.', topdown=False, followlinks=True):
if root.endswith('/__pycache__'):
continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment