diff options
author | Anthony Sottile <asottile@umich.edu> | 2020-10-05 18:13:05 -0700 |
---|---|---|
committer | Anthony Sottile <asottile@umich.edu> | 2020-10-05 18:33:17 -0700 |
commit | 33d119f71a60d1b41686c04a52c3a570fdcd506c (patch) | |
tree | 860431d60652d573998855f45b1ca868700032b1 /testing/test_assertion.py | |
parent | 703e89134c2b0c21225014e3a89c17ab062c0ab9 (diff) | |
download | pytest-33d119f71a60d1b41686c04a52c3a570fdcd506c.tar.gz |
py36+: com2ann
Diffstat (limited to 'testing/test_assertion.py')
-rw-r--r-- | testing/test_assertion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_assertion.py b/testing/test_assertion.py index f91bc3cb4..e3b6fa519 100644 --- a/testing/test_assertion.py +++ b/testing/test_assertion.py @@ -1068,7 +1068,7 @@ class TestTruncateExplanation: LINES_IN_TRUNCATION_MSG = 2 def test_doesnt_truncate_when_input_is_empty_list(self) -> None: - expl = [] # type: List[str] + expl: List[str] = [] result = truncate._truncate_explanation(expl, max_lines=8, max_chars=100) assert result == expl |