Merge pull request #7135 from pytest-dev/terminalwriter

This commit is contained in:
Bruno Oliveira
2020-05-06 18:26:44 -03:00
committed by GitHub
14 changed files with 496 additions and 89 deletions

View File

@@ -1406,7 +1406,7 @@ def _showfixtures_main(config, session):
def write_docstring(tw: TerminalWriter, doc: str, indent: str = " ") -> None:
for line in doc.split("\n"):
tw.write(indent + line + "\n")
tw.line(indent + line)
class Function(PyobjMixin, nodes.Item):