This test did fail when the escaping wasn't strict.
(
self, pytester: Pytester, run_and_parse: RunAndParse
)
| 780 | assert "hx" in fnode.toxml() |
| 781 | |
| 782 | def test_assertion_binchars( |
| 783 | self, pytester: Pytester, run_and_parse: RunAndParse |
| 784 | ) -> None: |
| 785 | """This test did fail when the escaping wasn't strict.""" |
| 786 | pytester.makepyfile( |
| 787 | """ |
| 788 | |
| 789 | M1 = '\x01\x02\x03\x04' |
| 790 | M2 = '\x01\x02\x03\x05' |
| 791 | |
| 792 | def test_str_compare(): |
| 793 | assert M1 == M2 |
| 794 | """ |
| 795 | ) |
| 796 | result, dom = run_and_parse() |
| 797 | print(dom.toxml()) |
| 798 | |
| 799 | @pytest.mark.parametrize("junit_logging", ["no", "system-out"]) |
| 800 | def test_pass_captures_stdout( |
nothing calls this directly
no test coverage detected