Home
last modified time | relevance | path

Searched refs:doctest (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/external/python/dateutil/docs/
Dexamples.rst32 .. doctest:: relativedelta
39 .. doctest:: relativedelta
46 .. doctest:: relativedelta
55 .. doctest:: relativedelta
65 .. doctest:: relativedelta
72 .. doctest:: relativedelta
81 .. doctest:: relativedelta
92 .. doctest:: relativedelta
111 .. doctest:: relativedelta
121 .. doctest:: relativedelta
[all …]
Drelativedelta.rst34 .. doctest:: relativedelta
41 .. doctest:: relativedelta
48 .. doctest:: relativedelta
57 .. doctest:: relativedelta
67 .. doctest:: relativedelta
74 .. doctest:: relativedelta
83 .. doctest:: relativedelta
94 .. doctest:: relativedelta
113 .. doctest:: relativedelta
123 .. doctest:: relativedelta
[all …]
Drrule.rst24 .. doctest:: rrule
36 .. doctest:: rrule
54 .. doctest:: rrule
70 .. doctest:: rrule
83 .. doctest:: rrule
96 .. doctest:: rrule
120 .. doctest:: rrule
132 .. doctest:: rrule
150 .. doctest:: rrule
164 .. doctest:: rrule
[all …]
/external/python/cpython2/Doc/library/
Dtraceback.rst207 File "<doctest...>", line 10, in <module>
211 File "<doctest...>", line 10, in <module>
213 File "<doctest...>", line 4, in lumberjack
218 File "<doctest...>", line 10, in <module>
220 File "<doctest...>", line 4, in lumberjack
228 ' File "<doctest...>", line 10, in <module>\n lumberjack()\n',
229 ' File "<doctest...>", line 4, in lumberjack\n bright_side_of_death()\n',
230 ' File "<doctest...>", line 7, in bright_side_of_death\n return tuple()[0]\n',
233 [('<doctest...>', 10, '<module>', 'lumberjack()'),
234 ('<doctest...>', 4, 'lumberjack', 'bright_side_of_death()'),
[all …]
Ddoctest.rst3 :mod:`doctest` --- Test interactive Python examples
6 .. module:: doctest
14 The :mod:`doctest` module searches for pieces of text that look like interactive
16 exactly as shown. There are several common ways to use doctest:
90 import doctest
91 doctest.testmod()
93 If you run :file:`example.py` directly from the command line, :mod:`doctest`
102 ``-v`` to the script, and :mod:`doctest` prints a detailed log of what
143 That's all you need to know to start making productive use of :mod:`doctest`!
155 The simplest way to start using doctest (but not necessarily the way you'll
[all …]
Dturtle.rst232 .. doctest::
253 .. doctest::
258 .. doctest::
276 .. doctest::
281 .. doctest::
299 .. doctest::
304 .. doctest::
326 .. doctest::
331 .. doctest::
354 .. doctest::
[all …]
/external/python/cpython3/Doc/library/
Ddoctest.rst3 :mod:`doctest` --- Test interactive Python examples
6 .. module:: doctest
14 **Source code:** :source:`Lib/doctest.py`
18 The :mod:`doctest` module searches for pieces of text that look like interactive
20 exactly as shown. There are several common ways to use doctest:
87 import doctest
88 doctest.testmod()
90 If you run :file:`example.py` directly from the command line, :mod:`doctest`
99 ``-v`` to the script, and :mod:`doctest` prints a detailed log of what
135 That's all you need to know to start making productive use of :mod:`doctest`!
[all …]
Dtraceback.rst412 File "<doctest...>", line 10, in <module>
416 File "<doctest...>", line 10, in <module>
418 File "<doctest...>", line 4, in lumberjack
423 File "<doctest...>", line 10, in <module>
425 File "<doctest...>", line 4, in lumberjack
433 ' File "<doctest...>", line 10, in <module>\n lumberjack()\n',
434 ' File "<doctest...>", line 4, in lumberjack\n bright_side_of_death()\n',
435 ' File "<doctest...>", line 7, in bright_side_of_death\n return tuple()[0]\n',
438 [<FrameSummary file <doctest...>, line 10 in <module>>,
439 <FrameSummary file <doctest...>, line 4 in lumberjack>,
[all …]
Dturtle.rst252 .. doctest::
273 .. doctest::
278 .. doctest::
296 .. doctest::
301 .. doctest::
319 .. doctest::
324 .. doctest::
346 .. doctest::
351 .. doctest::
374 .. doctest::
[all …]
Dstatistics.rst17 __name__ = '<doctest>'
83 .. doctest::
132 .. doctest::
156 .. doctest::
164 .. doctest::
188 .. doctest::
208 .. doctest::
225 .. doctest::
236 .. doctest::
244 .. doctest::
[all …]
/external/python/futures/docs/
DMakefile14 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
85 doctest: target
86 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
/external/mesa3d/src/gallium/docs/
DMakefile15 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
86 doctest: target
87 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
/external/python/cpython3/Lib/ctypes/test/
Dtest_objects.py57 import unittest, doctest
63 failures, tests = doctest.testmod(ctypes.test.test_objects)
67 doctest.testmod(ctypes.test.test_objects)
/external/python/cpython2/Lib/ctypes/test/
Dtest_objects.py57 import unittest, doctest, sys
63 failures, tests = doctest.testmod(ctypes.test.test_objects)
67 doctest.testmod(ctypes.test.test_objects)
/external/python/uritemplates/docs/
DMakefile15 …nglehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
127 doctest: target
128 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
/external/python/six/documentation/
DMakefile15 …nglehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
127 doctest: target
128 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
/external/python/rsa/doc/
DMakefile15 …nglehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
129 doctest: target
130 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
/external/swiftshader/third_party/subzero/docs/
DMakefile.sphinx23 epub latex latexpdf text man changes linkcheck doctest gettext
161 doctest:
162 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DMakefile.sphinx17 … pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
152 doctest:
153 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
/external/llvm/docs/
DMakefile.sphinx17 … pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
152 doctest:
153 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
/external/python/funcsigs/docs/
DMakefile17 … pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
150 doctest: target
151 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
/external/clang/docs/
DMakefile.sphinx17 …json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext default
160 doctest:
161 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
/external/autotest/client/site_tests/kernel_CheckArmErrata/
Dkernel_CheckArmErrata.py412 def run_once(self, doctest=False): argument
423 if doctest:
424 import doctest, inspect, StringIO
438 failure_count, test_count = doctest.testmod(
439 inspect.getmodule(self), optionflags=doctest.ELLIPSIS)
/external/u-boot/tools/buildman/
Dbuildman26 import doctest
35 import doctest
39 suite = doctest.DocTestSuite(module)
Dbuildman.py26 import doctest
35 import doctest
39 suite = doctest.DocTestSuite(module)

12345678910>>...12