(pytester: Pytester)
| 1520 | |
| 1521 | |
| 1522 | def test_AssertionError_message(pytester: Pytester) -> None: |
| 1523 | pytester.makepyfile( |
| 1524 | """ |
| 1525 | def test_hello(): |
| 1526 | x,y = 1,2 |
| 1527 | assert 0, (x,y) |
| 1528 | """ |
| 1529 | ) |
| 1530 | result = pytester.runpytest() |
| 1531 | result.stdout.fnmatch_lines( |
| 1532 | """ |
| 1533 | *def test_hello* |
| 1534 | *assert 0, (x,y)* |
| 1535 | *AssertionError: (1, 2)* |
| 1536 | """ |
| 1537 | ) |
| 1538 | |
| 1539 | |
| 1540 | def test_diff_newline_at_end(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected