Skip to content

Commit e3bf9ce

Browse files
committed
Fix linting
1 parent 448830e commit e3bf9ce

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

testing/test_pdb.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,16 @@ def pytest_runtest_protocol():
337337
child.expect("Pdb")
338338

339339
# INTERNALERROR is only displayed once via terminal reporter.
340-
assert len([x for x in child.before.decode().splitlines()
341-
if x.startswith("INTERNALERROR> Traceback")]) == 1
340+
assert (
341+
len(
342+
[
343+
x
344+
for x in child.before.decode().splitlines()
345+
if x.startswith("INTERNALERROR> Traceback")
346+
]
347+
)
348+
== 1
349+
)
342350

343351
child.sendeof()
344352
self.flush(child)

0 commit comments

Comments
 (0)