Check special handling for bytes diff (#5260)
(self)
| 370 | assert "+ spam" in diff |
| 371 | |
| 372 | def test_bytes_diff_normal(self) -> None: |
| 373 | """Check special handling for bytes diff (#5260)""" |
| 374 | diff = callequal(b"spam", b"eggs") |
| 375 | |
| 376 | assert diff == [ |
| 377 | "b'spam' == b'eggs'", |
| 378 | "At index 0 diff: b's' != b'e'", |
| 379 | "Use -v to get the full diff", |
| 380 | ] |
| 381 | |
| 382 | def test_bytes_diff_verbose(self) -> None: |
| 383 | """Check special handling for bytes diff (#5260)""" |
nothing calls this directly
no test coverage detected