Skip to content

Commit cbb898d

Browse files
committed
fix: stray parenthesis
From previous commit
1 parent 8c68de5 commit cbb898d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ def get_text(node):
101101
if be_found:
102102
if any(rex.search(get_text(node)) for node in nodes):
103103
return
104-
err_ = f'{check!r} not found in any node matching path {path} in {fname}: {[node.text for node in nodes]!r}')
104+
err_ = f'{check!r} not found in any node matching path {path} in {fname}: {[node.text for node in nodes]!r}'
105105
else:
106106
if all(not rex.search(get_text(node)) for node in nodes):
107107
return
108-
err_ = f'Found {check!r} in a node matching path {path} in {fname}: {[node.text for node in nodes]!r}')
108+
err_ = f'Found {check!r} in a node matching path {path} in {fname}: {[node.text for node in nodes]!r}'
109109

110110
raise AssertionError(err_)

0 commit comments

Comments
 (0)