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 9b3f0d3 commit 6645432Copy full SHA for 6645432
tests/common.py
@@ -149,7 +149,9 @@ def random_input_data():
149
return _source_files
150
151
for root, dirs, files in os.walk(os.path.dirname(__file__)):
152
- dirs[:] = list(sorted(dirs))
+ # We filter out __pycache__ because there is a race between another
153
+ # process writing cache files and us reading them.
154
+ dirs[:] = list(sorted(d for d in dirs if d != '__pycache__'))
155
for f in sorted(files):
156
try:
157
with open(os.path.join(root, f), "rb") as fh:
0 commit comments