Skip to content

Commit 9dc4f4c

Browse files
committed
Don't say "Failed:" twice
1 parent 9c06381 commit 9dc4f4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/flint/test/test_docstrings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class PyTestDocTestRunner(doctest.DocTestRunner):
3636
def report_failure(self, out, test, example, got):
3737
pytest.fail(
3838
"\n".join([
39-
f"Failed: {test.name}, line: {test.lineno}",
39+
f"{test.name}, line: {test.lineno}",
4040
"Failed example:",
4141
f"\t{example.source.strip()}",
4242
"Expected:",

0 commit comments

Comments
 (0)