Skip to content

Commit

Permalink
test: Refactor conditional to not use pass
Browse files Browse the repository at this point in the history
  • Loading branch information
b-butler committed Dec 4, 2023
1 parent c759957 commit d35908d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -2631,13 +2631,11 @@ def check_metadata(
current_path = job.project.path
# Still allow for local MacOS check but skip in CI MacOS runners. Rather
# than xfail or skip this ensures we test everything else.
if (
if not (
"private" in test_path
or "private" in current_path
and platform.system == "Darwin"
):
pass
else:
assert current_path == test_path
assert metadata["project"]["schema_version"] == job.project.config.get(
"schema_version"
Expand Down

0 comments on commit d35908d

Please sign in to comment.