Skip to content

Commit

Permalink
fix up indentation error causing reduced test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jan 22, 2025
1 parent d91db40 commit 945e256
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_configure_feedstock.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ def test_mixed_python_min(mixed_python_min_recipe, jinja_env, caplog, request):
for file in os.listdir(matrix_dir):
with open(os.path.join(matrix_dir, file)) as f:
lines = f.readlines()
# ensure python_min is set for all platforms
assert any(re.match(r"^python_min:.*", x) for x in lines)
# ensure python_min is set for all platforms
assert any(re.match(r"^python_min:.*", x) for x in lines)


def test_no_python_min_if_not_present(py_recipe, jinja_env, caplog, request):
Expand All @@ -324,8 +324,8 @@ def test_no_python_min_if_not_present(py_recipe, jinja_env, caplog, request):
for file in os.listdir(matrix_dir):
with open(os.path.join(matrix_dir, file)) as f:
lines = f.readlines()
# ensure python_min does NOT appear all platforms
assert all(not re.match(r"^python_min:.*", x) for x in lines)
# ensure python_min does NOT appear for all platforms
assert all(not re.match(r"^python_min:.*", x) for x in lines)


def test_upload_on_branch_azure(upload_on_branch_recipe, jinja_env):
Expand Down

0 comments on commit 945e256

Please sign in to comment.