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 7933dd9 commit da44289Copy full SHA for da44289
2 files changed
mne/utils/docs.py
@@ -5228,7 +5228,7 @@ def copy_doc(source):
5228
... def m1():
5229
... ''' this gets appended'''
5230
... pass
5231
- >>> print(B.m1.__doc__)
+ >>> print(B.m1.__doc__) # doctest: +NORMALIZE_WHITESPACE
5232
Docstring for m1
5233
this gets appended
5234
"""
mne/utils/tests/test_docs.py
@@ -203,7 +203,8 @@ def method_f3(self):
203
a : int
204
Parameter a
205
b : int
206
- Parameter b"""
+ Parameter b
207
+"""
208
)
209
210
assert (
@@ -214,7 +215,8 @@ def method_f3(self):
214
215
Returns
216
-------
217
nothing.
-method_f3 own docstring"""
218
+method_f3 own docstring
219
220
221
222
assert A.method_f3.__doc__ == "Docstring for f3.\n\n"
0 commit comments