From e3bf9cede4151c930092f68e7088a3e1a379241b Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 13 Oct 2018 22:13:25 -0300 Subject: [PATCH] Fix linting --- testing/test_pdb.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/testing/test_pdb.py b/testing/test_pdb.py index cda553c44..6b9625b55 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -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)