(pytester: Pytester)
| 1368 | |
| 1369 | |
| 1370 | def test_triple_quoted_string_issue113(pytester: Pytester) -> None: |
| 1371 | pytester.makepyfile( |
| 1372 | """ |
| 1373 | def test_hello(): |
| 1374 | assert "" == ''' |
| 1375 | '''""" |
| 1376 | ) |
| 1377 | result = pytester.runpytest("--fulltrace") |
| 1378 | result.stdout.fnmatch_lines(["*1 failed*"]) |
| 1379 | result.stdout.no_fnmatch_line("*SyntaxError*") |
| 1380 | |
| 1381 | |
| 1382 | def test_traceback_failure(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected