Show More
@@ -142,7 +142,7 b' from traitlets.config.configurable import Configurable' | |||
|
142 | 142 | import __main__ |
|
143 | 143 | |
|
144 | 144 | # skip module docstests |
|
145 | skip_doctest = True | |
|
145 | __skip_doctest__ = True | |
|
146 | 146 | |
|
147 | 147 | try: |
|
148 | 148 | import jedi |
@@ -116,6 +116,8 b' from IPython.utils import coloransi, py3compat' | |||
|
116 | 116 | from IPython.core.excolors import exception_colors |
|
117 | 117 | from IPython.testing.skipdoctest import skip_doctest |
|
118 | 118 | |
|
119 | # skip module docstests | |
|
120 | __skip_doctest__ = True | |
|
119 | 121 | |
|
120 | 122 | prompt = 'ipdb> ' |
|
121 | 123 |
@@ -97,7 +97,7 b' Some of the known remaining caveats are:' | |||
|
97 | 97 | - C extension modules cannot be reloaded, and so cannot be autoreloaded. |
|
98 | 98 | """ |
|
99 | 99 | |
|
100 | skip_doctest = True | |
|
100 | __skip_doctest__ = True | |
|
101 | 101 | |
|
102 | 102 | # ----------------------------------------------------------------------------- |
|
103 | 103 | # Copyright (C) 2000 Thomas Heller |
@@ -125,7 +125,7 b' class DocTestFinder(doctest.DocTestFinder):' | |||
|
125 | 125 | add them to `tests`. |
|
126 | 126 | """ |
|
127 | 127 | print('_find for:', obj, name, module) # dbg |
|
128 |
if |
|
|
128 | if bool(getattr(obj, "__skip_doctest__", False)): | |
|
129 | 129 | #print 'SKIPPING DOCTEST FOR:',obj # dbg |
|
130 | 130 | obj = DocTestSkip(obj) |
|
131 | 131 |
General Comments 0
You need to be logged in to leave comments.
Login now