We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c68de5 commit cbb898dCopy full SHA for cbb898d
test/conftest.py
@@ -101,10 +101,10 @@ def get_text(node):
101
if be_found:
102
if any(rex.search(get_text(node)) for node in nodes):
103
return
104
- err_ = f'{check!r} not found in any node matching path {path} in {fname}: {[node.text for node in nodes]!r}')
+ err_ = f'{check!r} not found in any node matching path {path} in {fname}: {[node.text for node in nodes]!r}'
105
else:
106
if all(not rex.search(get_text(node)) for node in nodes):
107
108
- err_ = f'Found {check!r} in a node matching path {path} in {fname}: {[node.text for node in nodes]!r}')
+ err_ = f'Found {check!r} in a node matching path {path} in {fname}: {[node.text for node in nodes]!r}'
109
110
raise AssertionError(err_)
0 commit comments