Skip to content

Commit 1c7f454

Browse files
committed
REF: Remove unused param pdoc.test.run(_check=)
1 parent da98dd7 commit 1c7f454

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pdoc/test/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def chdir(path):
6464
os.chdir(old)
6565

6666

67-
def run(*args, _check=True, **kwargs) -> int:
67+
def run(*args, **kwargs) -> int:
6868
params = (('--' + key.replace('_', '-'), value)
6969
for key, value in kwargs.items())
7070
params = list(filter(None, chain.from_iterable(params))) # type: ignore
@@ -278,7 +278,7 @@ def test_lunr_search(self):
278278
def test_force(self):
279279
with run_html(EXAMPLE_MODULE):
280280
with redirect_streams() as (stdout, stderr):
281-
returncode = run(EXAMPLE_MODULE, _check=False, html=None, output_dir=os.getcwd())
281+
returncode = run(EXAMPLE_MODULE, html=None, output_dir=os.getcwd())
282282
self.assertNotEqual(returncode, 0)
283283
self.assertNotEqual(stderr.getvalue(), '')
284284

0 commit comments

Comments
 (0)