From b2b0acea8040e7953f25592863611fbb81c7ff00 Mon Sep 17 00:00:00 2001 From: Isaac Muse Date: Wed, 26 Dec 2018 15:10:58 -0700 Subject: Remove dead line of code --- bs4/testing.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bs4/testing.py b/bs4/testing.py index 18b985c..dee214c 100644 --- a/bs4/testing.py +++ b/bs4/testing.py @@ -211,8 +211,6 @@ class SoupTest(unittest.TestCase): # Return the child to the recursive caller return child - return descendant if descendant is not None else child - class HTMLTreeBuilderSmokeTest(object): -- cgit v1.2.1