Quite a mypy warning about formatting bytes into a string

This commit is contained in:
Jean-Paul Calderone 2022-11-30 09:46:13 -05:00
parent 156954c621
commit 05dfa875a7
1 changed files with 2 additions and 2 deletions

View File

@ -289,8 +289,8 @@ class Version(GridTestMixin, AsyncTestCase, testutil.ShouldFailMixin, \
if results != expected_range:
print("read([%d]+%s) got %d bytes, not %d" % \
(offset, length, len(results), len(expected_range)))
print("got: %s ... %s" % (results[:20], results[-20:]))
print("exp: %s ... %s" % (expected_range[:20], expected_range[-20:]))
print("got: %r ... %r" % (results[:20], results[-20:]))
print("exp: %r ... %r" % (expected_range[:20], expected_range[-20:]))
self.fail("results[%s] != expected_range" % name)
async def test_partial_read_mdmf_0(self) -> None: