Skip to content

Commit 4ec9cbb

Browse files
committed
Remove unused kwarg
1 parent e6c1308 commit 4ec9cbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_mpl/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def _download_file(self, baseline, filename):
407407
tmpfile.write(content)
408408
return Path(filename)
409409

410-
def obtain_baseline_image(self, item, target_dir):
410+
def obtain_baseline_image(self, item):
411411
"""
412412
Copy the baseline image to our working directory.
413413
@@ -471,7 +471,7 @@ def compare_image_to_baseline(self, item, fig, result_dir, summary=None):
471471

472472
ext = self._file_extension(item)
473473

474-
baseline_image_ref = self.obtain_baseline_image(item, result_dir)
474+
baseline_image_ref = self.obtain_baseline_image(item)
475475

476476
test_image = (result_dir / f"result.{ext}").absolute()
477477
self.save_figure(item, fig, test_image)

0 commit comments

Comments
 (0)