Skip to content

Commit dbf73dd

Browse files
committed
fix travis
1 parent 084bfc4 commit dbf73dd

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

pytest_notebook/post_processors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def document_processors():
4343
"""Create formatted string of all preprocessor docstrings."""
4444
return "\n\n".join(
4545
[
46-
"{}:\n{}".format(n, textwrap.indent(load_processor(n).__doc__, " "))
46+
f"{n}:\n{textwrap.indent(load_processor(n).__doc__, ' ').rstrip()}"
4747
for n in sorted(list_processor_names())
4848
]
4949
)

tests/test_postprocessors/test_plugins.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
def test_documentation(file_regression):
55
"""Test all the plugins are loading, by generating combined documentation."""
6-
file_regression.check(document_processors())
6+
file_regression.check(document_processors() + "\n")

tests/test_postprocessors/test_plugins/test_documentation.txt

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ beautifulsoup:
33

44
See: https://beautiful-soup-4.readthedocs.io.
55

6-
76
blacken_code:
87
Format python source code with black (see https://black.readthedocs.io).
98

0 commit comments

Comments
 (0)