(pytester: Pytester)
| 1342 | |
| 1343 | |
| 1344 | def test_collect_error_with_fulltrace(pytester: Pytester) -> None: |
| 1345 | pytester.makepyfile("assert 0") |
| 1346 | result = pytester.runpytest("--fulltrace") |
| 1347 | result.stdout.fnmatch_lines( |
| 1348 | [ |
| 1349 | "collected 0 items / 1 error", |
| 1350 | "", |
| 1351 | "*= ERRORS =*", |
| 1352 | "*_ ERROR collecting test_collect_error_with_fulltrace.py _*", |
| 1353 | "", |
| 1354 | "> assert 0", |
| 1355 | "E assert 0", |
| 1356 | "", |
| 1357 | "test_collect_error_with_fulltrace.py:1: AssertionError", |
| 1358 | "*! Interrupted: 1 error during collection !*", |
| 1359 | ] |
| 1360 | ) |
| 1361 | |
| 1362 | |
| 1363 | def test_skip_duplicates_by_default(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected