Fix linting
This commit is contained in:
parent
448830e656
commit
e3bf9cede4
|
@ -337,8 +337,16 @@ class TestPDB(object):
|
||||||
child.expect("Pdb")
|
child.expect("Pdb")
|
||||||
|
|
||||||
# INTERNALERROR is only displayed once via terminal reporter.
|
# INTERNALERROR is only displayed once via terminal reporter.
|
||||||
assert len([x for x in child.before.decode().splitlines()
|
assert (
|
||||||
if x.startswith("INTERNALERROR> Traceback")]) == 1
|
len(
|
||||||
|
[
|
||||||
|
x
|
||||||
|
for x in child.before.decode().splitlines()
|
||||||
|
if x.startswith("INTERNALERROR> Traceback")
|
||||||
|
]
|
||||||
|
)
|
||||||
|
== 1
|
||||||
|
)
|
||||||
|
|
||||||
child.sendeof()
|
child.sendeof()
|
||||||
self.flush(child)
|
self.flush(child)
|
||||||
|
|
Loading…
Reference in New Issue