Skip to content

Commit 8c68de5

Browse files
committed
fix: black formatting
1 parent 3bbe816 commit 8c68de5

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

test/conftest.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +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} '
105-
f'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}')
106105
else:
107106
if all(not rex.search(get_text(node)) for node in nodes):
108107
return
109-
err_ = (f'Found {check!r} in a node matching path {path} '
110-
f'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}')
111109

112110
raise AssertionError(err_)

test/sample-default-supressed.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
from argparse import ArgumentParser
22

33
def get_parser():
4-
parser = ArgumentParser(prog='sample-default-suppressed',
5-
description='Test suppression of version default')
6-
parser.add_argument('--version',
7-
help='print version number',
8-
action='version',
9-
version='1.2.3')
4+
parser = ArgumentParser(prog='sample-default-suppressed', description='Test suppression of version default')
5+
parser.add_argument('--version', help='print version number', action='version', version='1.2.3')
106
return parser

0 commit comments

Comments
 (0)