Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #464 from mwageringel/master
Browse files Browse the repository at this point in the history
Add initialization to docstring doctest
  • Loading branch information
dimpase authored Feb 1, 2019
2 parents 705c39c + 31813c9 commit b2d9822
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sagenb/misc/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,10 @@ def docstring(obj_name, globs, system='sage'):
TESTS:
Check that Trac 10860 is fixed and we can handle Unicode help
strings in the notebook::
strings in the notebook, see also Trac 26906::
sage: from sagenb.misc.support import docstring
sage: from sagenb.misc.support import init, docstring
sage: init()
sage: D = docstring("r.lm", globs=globals())
"""
if system not in ['sage', 'python']:
Expand Down

0 comments on commit b2d9822

Please sign in to comment.