Skip to content

Commit

Permalink
tests: ignore __pycache__ in are_these_two_directories_the_same
Browse files Browse the repository at this point in the history
  • Loading branch information
Sina Atalay committed Mar 31, 2024
1 parent 8dd939b commit 67fa32b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ def are_these_two_directories_the_same(
AssertionError: If the two directories are not the same.
"""
for file1 in directory1.iterdir():
if file1.name == "__pycache__":
continue

file2 = directory2 / file1.name
if file1.is_dir():
if not file2.is_dir():
Expand Down

0 comments on commit 67fa32b

Please sign in to comment.