Skip to content

Commit

Permalink
[pyupgrade] Apply pyupgrade on new code manually
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Mar 3, 2025
1 parent be2600e commit a7479ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/acceptance_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,14 +999,14 @@ def test_calls_showall_durationsmin_verbose(
def check_tests_in_output(
lines: Sequence[str], *expected_test_numbers: int, number_of_tests: int = 3
) -> None:
found_test_numbers = set(
found_test_numbers = {
test_number
for test_number in range(1, number_of_tests + 1)
if any(
line.endswith(f"test_{test_number}") and " call " in line
for line in lines
)
)
}
assert found_test_numbers == set(expected_test_numbers)

def test_with_deselected(self, pytester: Pytester, mock_timing) -> None:
Expand Down

0 comments on commit a7479ce

Please sign in to comment.