Check special handling for bytes diff (#5260)
(self)
| 585 | ] |
| 586 | |
| 587 | def test_bytes_diff_verbose(self) -> None: |
| 588 | """Check special handling for bytes diff (#5260)""" |
| 589 | diff = callequal(b"spam", b"eggs", verbose=1) |
| 590 | assert diff == [ |
| 591 | "b'spam' == b'eggs'", |
| 592 | "", |
| 593 | "At index 0 diff: b's' != b'e'", |
| 594 | "", |
| 595 | "Full diff:", |
| 596 | "- b'eggs'", |
| 597 | "+ b'spam'", |
| 598 | ] |
| 599 | |
| 600 | def test_list(self) -> None: |
| 601 | expl = callequal([0, 1], [0, 2]) |
nothing calls this directly
no test coverage detected