Skip to content

Commit 22b3b48

Browse files
committed
Fix doctools tests for pypy.
1 parent 4ebd89a commit 22b3b48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_doctools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def test_decorators():
215215
"I don't know why the cafe has a ceil function, but we'd better document it properly.",
216216
)
217217
assert doctools.deindent_string(SpamCafe.ceil.__doc__
218-
).endswith(doctools.deindent_string(math.ceil.__doc__) + "\n")
218+
).rstrip().endswith(doctools.deindent_string(math.ceil.__doc__).rstrip())
219219
# Dedented both strings to be sure of equivalence
220220

221221
# Functions

0 commit comments

Comments
 (0)