Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Oct 14, 2018
1 parent 448830e commit e3bf9ce
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions testing/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,16 @@ def pytest_runtest_protocol():
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)
Expand Down

0 comments on commit e3bf9ce

Please sign in to comment.