From e4c1b55125bebc0f92371f4dc0bfe5b92cfdaff9 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Tue, 8 Mar 2022 18:20:45 +0000 Subject: [PATCH] fix mypy warning --- testing/test_assertion.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/test_assertion.py b/testing/test_assertion.py index 33b703724..4825ede77 100644 --- a/testing/test_assertion.py +++ b/testing/test_assertion.py @@ -1702,6 +1702,7 @@ def test_reprcompare_verbose_long() -> None: b = a.copy() b["v2"] += 10 lines = callop("==", a, b, verbose=2) + assert lines is not None assert lines[0] == ( "{'v0': 0, 'v1': 1, 'v2': 2, 'v3': 3, 'v4': 4, 'v5': 5, " "'v6': 6, 'v7': 7, 'v8': 8, 'v9': 9, 'v10': 10}"