Skip to content

Commit

Permalink
Fix the remaining coverage py integration tests (Cherry-pick of #21544)…
Browse files Browse the repository at this point in the history
… (#21546)

Follow up to #21540, which alas only tackled half the tests
(and those do indeed pass on the new ARM images, so this
change should now cause the rest to pass).

Co-authored-by: Benjy Weinberger <benjyw@gmail.com>
  • Loading branch information
WorkerPants and benjyw authored Oct 17, 2024
1 parent fcc5e50 commit cbb7611
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ def test_coverage(major_minor_interpreter: str) -> None:
def test_coverage_batched(major_minor_interpreter: str) -> None:
with setup_tmpdir(sources(True)) as tmpdir:
result = run_coverage(
tmpdir, f"--coverage-py-interpreter-constraints=['=={major_minor_interpreter}.*']"
tmpdir,
f"--python-interpreter-constraints=['=={major_minor_interpreter}.*']",
f"--coverage-py-interpreter-constraints=['=={major_minor_interpreter}.*']",
)
assert (
dedent(
Expand Down

0 comments on commit cbb7611

Please sign in to comment.