(self, pytester: Pytester)
| 1265 | |
| 1266 | class TestIssue925: |
| 1267 | def test_simple_case(self, pytester: Pytester) -> None: |
| 1268 | pytester.makepyfile( |
| 1269 | """ |
| 1270 | def test_ternary_display(): |
| 1271 | assert (False == False) == False |
| 1272 | """ |
| 1273 | ) |
| 1274 | result = pytester.runpytest() |
| 1275 | result.stdout.fnmatch_lines(["*E*assert (False == False) == False"]) |
| 1276 | |
| 1277 | def test_long_case(self, pytester: Pytester) -> None: |
| 1278 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected