Fix flake8 (unused import, trailng whitespace)
This commit is contained in:
parent
b629da424e
commit
0061d9bd3d
|
@ -2,7 +2,6 @@
|
||||||
support for presenting detailed information in failing assertions.
|
support for presenting detailed information in failing assertions.
|
||||||
"""
|
"""
|
||||||
import py
|
import py
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from _pytest.assertion import util
|
from _pytest.assertion import util
|
||||||
|
|
|
@ -579,7 +579,7 @@ class TestTruncateExplanation:
|
||||||
|
|
||||||
# The number of lines in the truncation explanation message. Used
|
# The number of lines in the truncation explanation message. Used
|
||||||
# to calculate that results have the expected length.
|
# to calculate that results have the expected length.
|
||||||
LINES_IN_TRUNCATION_MSG = 2
|
LINES_IN_TRUNCATION_MSG = 2
|
||||||
|
|
||||||
def test_doesnt_truncate_when_input_is_empty_list(self):
|
def test_doesnt_truncate_when_input_is_empty_list(self):
|
||||||
expl = []
|
expl = []
|
||||||
|
|
Loading…
Reference in New Issue