We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be2600e commit a7479ceCopy full SHA for a7479ce
testing/acceptance_test.py
@@ -999,14 +999,14 @@ def test_calls_showall_durationsmin_verbose(
999
def check_tests_in_output(
1000
lines: Sequence[str], *expected_test_numbers: int, number_of_tests: int = 3
1001
) -> None:
1002
- found_test_numbers = set(
+ found_test_numbers = {
1003
test_number
1004
for test_number in range(1, number_of_tests + 1)
1005
if any(
1006
line.endswith(f"test_{test_number}") and " call " in line
1007
for line in lines
1008
)
1009
- )
+ }
1010
assert found_test_numbers == set(expected_test_numbers)
1011
1012
def test_with_deselected(self, pytester: Pytester, mock_timing) -> None:
0 commit comments