Skip to content

Commit e387618

Browse files
authored
Merge pull request #148 from neutrinoceros/better_summary_log
2 parents fe64a71 + 7aba1b9 commit e387618

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pytest_mpl/plugin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -726,11 +726,11 @@ def pytest_unconfigure(self, config):
726726
kwargs["hash_library"] = result_hash_library.name
727727
if 'html' in self.generate_summary:
728728
summary = generate_summary_html(self._test_results, self.results_dir, **kwargs)
729-
print(f"A summary of the failed tests can be found at: {summary}")
729+
print(f"A summary of test results can be found at: {summary}")
730730
if 'basic-html' in self.generate_summary:
731731
summary = generate_summary_basic_html(self._test_results, self.results_dir,
732732
**kwargs)
733-
print(f"A summary of the failed tests can be found at: {summary}")
733+
print(f"A summary of test results can be found at: {summary}")
734734

735735

736736
class FigureCloser:

tests/test_pytest_mpl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def test_hash_fails(tmpdir):
297297
output = assert_pytest_fails_with(['--mpl', test_file, '--mpl-generate-summary=html'],
298298
"doesn't match hash FAIL in library")
299299
# We didn't specify a baseline dir so we shouldn't attempt to find one
300-
print_message = "A summary of the failed tests can be found at:"
300+
print_message = "A summary of test results can be found at:"
301301
assert print_message in output, output
302302
printed_path = Path(output.split(print_message)[1].strip())
303303
assert printed_path.exists()

0 commit comments

Comments
 (0)