Skip to content

Commit e18b6f5

Browse files
Ignore unraisable exceptions on stdlib primer (#10683)
Refs #9138
1 parent 6678c90 commit e18b6f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/primer/test_primer_stdlib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def _patch_stdout(out: io.StringIO) -> Iterator[None]:
4848
@pytest.mark.parametrize(
4949
("test_module_location", "test_module_name"), MODULES_TO_CHECK, ids=MODULES_NAMES
5050
)
51+
@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
5152
def test_primer_stdlib_no_crash(
5253
test_module_location: str, test_module_name: str, capsys: CaptureFixture
5354
) -> None:

0 commit comments

Comments
 (0)