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