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 a65a0ea commit 5ea14b2Copy full SHA for 5ea14b2
tests/test_package_generation.py
@@ -81,7 +81,9 @@ def test_package_generation(
81
actual_files = get_all_files_folders(test_project_dir)
82
# Filter out anything under specific directories to make comparison easier
83
actual_files = actual_files - {
84
- a for a in actual_files if a.parts[0] in (".git", "__pycache__")
+ a
85
+ for a in actual_files
86
+ if len(a.parts) > 0 and a.parts[0] in (".git", "__pycache__")
87
}
88
89
assert actual_files == expected_files
0 commit comments