We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 761b68b commit 5f89fd5Copy full SHA for 5f89fd5
src/doc_builder/pytest_plugin.py
@@ -53,11 +53,7 @@ def teardown(self):
53
self._tmp_file.unlink(missing_ok=True)
54
55
def repr_failure(self, excinfo):
56
- return (
57
- f"Runnable block '{self.name}' in {self.path} failed:\n\n"
58
- f"{excinfo.getrepr()}\n\n"
59
- f"Code:\n{self._code}"
60
- )
+ return f"Runnable block '{self.name}' in {self.path} failed:\n\n{excinfo.getrepr()}\n\nCode:\n{self._code}"
61
62
def reportinfo(self):
63
return self.path, None, f"runnable:{self.name}"
0 commit comments