(pytester: Pytester, method: str)
| 116 | |
| 117 | @pytest.mark.parametrize("method", ["fd", "sys"]) |
| 118 | def test_capturing_bytes_in_utf8_encoding(pytester: Pytester, method: str) -> None: |
| 119 | pytester.makepyfile( |
| 120 | """\ |
| 121 | def test_unicode(): |
| 122 | print('b\\u00f6y') |
| 123 | """ |
| 124 | ) |
| 125 | result = pytester.runpytest("--capture=%s" % method) |
| 126 | result.stdout.fnmatch_lines(["*1 passed*"]) |
| 127 | |
| 128 | |
| 129 | def test_collect_capturing(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected