We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ebd89a commit 22b3b48Copy full SHA for 22b3b48
tests/test_doctools.py
@@ -215,7 +215,7 @@ def test_decorators():
215
"I don't know why the cafe has a ceil function, but we'd better document it properly.",
216
)
217
assert doctools.deindent_string(SpamCafe.ceil.__doc__
218
- ).endswith(doctools.deindent_string(math.ceil.__doc__) + "\n")
+ ).rstrip().endswith(doctools.deindent_string(math.ceil.__doc__).rstrip())
219
# Dedented both strings to be sure of equivalence
220
221
# Functions
0 commit comments