Fix linting

This commit is contained in:
Bruno Oliveira 2018-10-13 22:13:25 -03:00
parent 448830e656
commit e3bf9cede4
1 changed files with 10 additions and 2 deletions

View File

@ -337,8 +337,16 @@ class TestPDB(object):
child.expect("Pdb")
# INTERNALERROR is only displayed once via terminal reporter.
assert len([x for x in child.before.decode().splitlines()
if x.startswith("INTERNALERROR> Traceback")]) == 1
assert (
len(
[
x
for x in child.before.decode().splitlines()
if x.startswith("INTERNALERROR> Traceback")
]
)
== 1
)
child.sendeof()
self.flush(child)