Skip to content

Commit

Permalink
switch to os.walk to support <3.10 versions of Python
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Aug 28, 2024
1 parent ea52f9b commit fc7c1e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pipelines/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ def test_template_customisation_all_files_grouping(self):
if template_features_yml[feature]["skippable_paths"]:
all_skipped_files.extend(template_features_yml[feature]["skippable_paths"])

for root, _, files in PIPELINE_TEMPLATE.walk():
for root, _, files in os.walk(PIPELINE_TEMPLATE):
for file in files:
str_path = str((root / file).relative_to(PIPELINE_TEMPLATE))
str_path = str((Path(root) / file).relative_to(PIPELINE_TEMPLATE))
if str_path not in base_required_files:
try:
assert (
Expand Down

0 comments on commit fc7c1e8

Please sign in to comment.