File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ dev = [
5252 " pipdeptree>=2.13.0,<3" ,
5353 " pylint>=2.17.5,<4" ,
5454 " pytest-bdd>=7.0.0,<8" ,
55- " pytest-splinter>=3.3.2,<4" ,
5655 " playwright>=1.39.0,<2" ,
5756 " pre-commit>=3.5.0,<4" ,
5857 " black>=23.10.1,<24" ,
Original file line number Diff line number Diff line change @@ -367,14 +367,8 @@ def displayed_text(self):
367367
368368 def _to_string (t ):
369369 "Create string for token, eg 'cat (2)'."
370-
371- # Note that selenium's t.text accessor strips leading/trailing whitespace,
372- # so if a span contains " ", t.text returns "". We need the actual
373- # inner html.
374- # pylint: disable=protected-access
375- inner_html = t .inner_html ()
376370 zws = "\u200B "
377- inner_html = inner_html .replace (zws , "" )
371+ inner_html = t . inner_html () .replace (zws , "" )
378372
379373 class_attr = t .get_attribute ("class" ) or ""
380374 status = [
You can’t perform that action at this time.
0 commit comments