HomeSort by relevance Sort by last modified time
    Searched full:doctest (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
sample_doctest_no_doctests.py 1 """This is a sample module used for testing doctest.
3 This module is for testing how doctest handles a module with docstrings
4 but no doctest examples.
10 """A docstring with no doctest examples.
sample_doctest_no_docstrings.py 1 # This is a sample module used for testing doctest.
3 # This module is for testing how doctest handles a module with no
test_doctest.py 3 Test script for doctest.
8 import doctest namespace
173 >>> example = doctest.Example('print 1', '1\n')
183 >>> example = doctest.Example('[].pop()', '', exc_msg,
185 ... options={doctest.ELLIPSIS: True})
193 >>> e = doctest.Example('print 1', '1\n')
197 >>> e = doctest.Example('print 1\n', '1\n')
202 >>> e = doctest.Example('print 1;\nprint 2\n', '1\n2\n')
206 >>> e = doctest.Example('print 1;\nprint 2', '1\n2\n')
211 >>> e = doctest.Example('', ''
    [all...]
test_doctest.txt 1 This is a sample doctest in a text file.
test_doctest4.txt 1 This is a sample doctest in a text file that contains non-ASCII characters.
test_pdb.py 12 # This little helper class is essential for testing pdb under doctest.
103 > <doctest test.test_pdb.test_pdb_displayhook[0]>(3)test_function()
139 >>> with PdbTestInput([ # doctest: +NORMALIZE_WHITESPACE
164 > <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>(3)test_function()
167 Breakpoint 1 at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:3
173 Breakpoint 2 at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:4
175 Breakpoint 3 at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:4
178 1 breakpoint keep no at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:3
181 2 breakpoint keep yes at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:4
182 3 breakpoint keep yes at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:
    [all...]
sample_doctest.py 75 import doctest namespace
76 return doctest.DocTestSuite()
test_doctest2.txt 1 This is a sample doctest in a text file.
test_syntax.py 8 SyntaxError: name 'x' is local and global (<doctest test.test_syntax[0]>, line 1)
21 doctest. Since all the code comes from the same module, a suffix like
32 File "<doctest test.test_syntax[1]>", line 1
37 File "<doctest test.test_syntax[2]>", line 1
46 File "<doctest test.test_syntax[3]>", line 1
51 File "<doctest test.test_syntax[4]>", line 1
56 File "<doctest test.test_syntax[5]>", line 1
61 File "<doctest test.test_syntax[6]>", line 1
66 File "<doctest test.test_syntax[7]>", line 1
71 File "<doctest test.test_syntax[8]>", line
    [all...]
test_zipimport_support.py 12 import doctest namespace
25 # doctest (Issue 4197)
38 # Direct doctest output (normally just errors) to real stdout; doctest
43 finder = doctest.DocTestFinder(verbose=verbose, recurse=False)
44 runner = doctest.DocTestRunner(verbose=verbose)
59 print 'doctest (%s) ... %d tests with zero failures' % (module.__name__, t)
90 # To avoid having to keep two copies of the doctest module's
103 # The sample doctest files rewritten to include in the zipped version.
133 # which aren't available to the zipped version (the doctest
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
sample_doctest_no_doctests.py 1 """This is a sample module used for testing doctest.
3 This module is for testing how doctest handles a module with docstrings
4 but no doctest examples.
10 """A docstring with no doctest examples.
sample_doctest_no_docstrings.py 1 # This is a sample module used for testing doctest.
3 # This module is for testing how doctest handles a module with no
test_doctest.py 3 Test script for doctest.
8 import doctest namespace
173 >>> example = doctest.Example('print 1', '1\n')
183 >>> example = doctest.Example('[].pop()', '', exc_msg,
185 ... options={doctest.ELLIPSIS: True})
193 >>> e = doctest.Example('print 1', '1\n')
197 >>> e = doctest.Example('print 1\n', '1\n')
202 >>> e = doctest.Example('print 1;\nprint 2\n', '1\n2\n')
206 >>> e = doctest.Example('print 1;\nprint 2', '1\n2\n')
211 >>> e = doctest.Example('', ''
    [all...]
test_doctest.txt 1 This is a sample doctest in a text file.
test_doctest4.txt 1 This is a sample doctest in a text file that contains non-ASCII characters.
test_pdb.py 12 # This little helper class is essential for testing pdb under doctest.
103 > <doctest test.test_pdb.test_pdb_displayhook[0]>(3)test_function()
139 >>> with PdbTestInput([ # doctest: +NORMALIZE_WHITESPACE
164 > <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>(3)test_function()
167 Breakpoint 1 at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:3
173 Breakpoint 2 at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:4
175 Breakpoint 3 at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:4
178 1 breakpoint keep no at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:3
181 2 breakpoint keep yes at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:4
182 3 breakpoint keep yes at <doctest test.test_pdb.test_pdb_breakpoint_commands[0]>:
    [all...]
sample_doctest.py 75 import doctest namespace
76 return doctest.DocTestSuite()
test_doctest2.txt 1 This is a sample doctest in a text file.
test_syntax.py 8 SyntaxError: name 'x' is local and global (<doctest test.test_syntax[0]>, line 1)
21 doctest. Since all the code comes from the same module, a suffix like
32 File "<doctest test.test_syntax[1]>", line 1
37 File "<doctest test.test_syntax[2]>", line 1
46 File "<doctest test.test_syntax[3]>", line 1
51 File "<doctest test.test_syntax[4]>", line 1
56 File "<doctest test.test_syntax[5]>", line 1
61 File "<doctest test.test_syntax[6]>", line 1
66 File "<doctest test.test_syntax[7]>", line 1
71 File "<doctest test.test_syntax[8]>", line
    [all...]
test_zipimport_support.py 12 import doctest namespace
25 # doctest (Issue 4197)
38 # Direct doctest output (normally just errors) to real stdout; doctest
43 finder = doctest.DocTestFinder(verbose=verbose, recurse=False)
44 runner = doctest.DocTestRunner(verbose=verbose)
59 print 'doctest (%s) ... %d tests with zero failures' % (module.__name__, t)
90 # To avoid having to keep two copies of the doctest module's
103 # The sample doctest files rewritten to include in the zipped version.
133 # which aren't available to the zipped version (the doctest
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
test_versionpredicate.py 6 import doctest namespace
10 return doctest.DocTestSuite(distutils.versionpredicate)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/
test_versionpredicate.py 6 import doctest namespace
10 return doctest.DocTestSuite(distutils.versionpredicate)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_objects.py 44 >>> print x.array._b_base_ # doctest: +ELLIPSIS
57 import unittest, doctest, sys namespace
66 doctest.testmod(ctypes.test.test_objects)
70 doctest.testmod(ctypes.test.test_objects)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_objects.py 44 >>> print x.array._b_base_ # doctest: +ELLIPSIS
57 import unittest, doctest, sys namespace
66 doctest.testmod(ctypes.test.test_objects)
70 doctest.testmod(ctypes.test.test_objects)
  /external/chromium_org/native_client_sdk/src/doc/
Makefile 19 .PHONY: all help clean linkcheck doctest chromesite chromesite_rst serve
30 @echo " doctest to run all doctests embedded in the documentation (if enabled)"
47 doctest:
48 $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
50 "results in $(BUILDDIR)/doctest/output.txt."

Completed in 326 milliseconds

1 2 3 4 5 6