/third_party/python/Lib/ctypes/test/ |
H A D | test_objects.py | 44 >>> print(x.array._b_base_) # doctest: +ELLIPSIS 57 import unittest, doctest namespace 63 failures, tests = doctest.testmod(ctypes.test.test_objects) 67 doctest.testmod(ctypes.test.test_objects)
|
/third_party/rust/crates/memoffset/src/ |
H A D | lib.rs | 67 #[cfg(doctest)] 70 #[cfg(doctest)] 71 doctest!("../README.md");
|
/third_party/python/Lib/test/ |
H A D | test_doctest.py | 2 Test script for doctest. 8 import doctest namespace 201 >>> example = doctest.Example('print(1)', '1\n') 211 >>> example = doctest.Example('[].pop()', '', exc_msg, 213 ... options={doctest.ELLIPSIS: True}) 221 >>> e = doctest.Example('print(1)', '1\n') 225 >>> e = doctest.Example('print(1)\n', '1\n') 230 >>> e = doctest.Example('print(1);\nprint(2)\n', '1\n2\n') 234 >>> e = doctest.Example('print(1);\nprint(2)', '1\n2\n') 239 >>> e = doctest [all...] |
H A D | test_doctest2.py | 1 """A module to test whether doctest recognizes some 2.2 features, 112 import doctest, sys namespace 114 f, t = doctest.testmod(sys.modules[__name__]) 123 from doctest import *
|
H A D | sample_doctest.py | 75 import doctest namespace 76 return doctest.DocTestSuite()
|
H A D | test_extcall.py | 523 import doctest namespace 528 tests.addTest(doctest.DocTestSuite())
|
H A D | test_unpack_ex.py | 3 import doctest namespace 318 >>> a, *b, c, *d, e = range(10) # doctest:+ELLIPSIS 323 >>> [*b, *c] = range(10) # doctest:+ELLIPSIS 328 >>> a,*b,*c,*d = range(4) # doctest:+ELLIPSIS 333 >>> *a = range(10) # doctest:+ELLIPSIS 338 >>> *a # doctest:+ELLIPSIS 343 >>> *1 # doctest:+ELLIPSIS 348 >>> x = *a # doctest:+ELLIPSIS 353 >>> (*x),y = 1, 2 # doctest:+ELLIPSIS 358 >>> (((*x))),y = 1, 2 # doctest [all...] |
H A D | test_listcomps.py | 1 import doctest namespace 50 >>> [y for y in (1,2)] = 10 # doctest: +IGNORE_EXCEPTION_DETAIL 55 >>> [y for y in (1,2)] += 10 # doctest: +IGNORE_EXCEPTION_DETAIL 152 tests.addTest(doctest.DocTestSuite())
|
H A D | test_setcomps.py | 1 import doctest namespace 55 >>> {y for y in (1,2)} = 10 # doctest: +IGNORE_EXCEPTION_DETAIL 60 >>> {y for y in (1,2)} += 10 # doctest: +IGNORE_EXCEPTION_DETAIL 155 tests.addTest(doctest.DocTestSuite())
|
H A D | test_metaclass.py | 1 import doctest namespace 264 tests.addTest(doctest.DocTestSuite())
|
H A D | test_genexps.py | 2 import doctest namespace 115 >>> dict(a = (i for i in range(10))) #doctest: +ELLIPSIS 289 tests.addTest(doctest.DocTestSuite())
|
H A D | test_unpack.py | 1 import doctest namespace 150 tests.addTest(doctest.DocTestSuite())
|
H A D | test_descrtut.py | 13 import doctest namespace 477 tests.addTest(doctest.DocTestSuite())
|
H A D | test_pickletools.py | 5 import doctest namespace 99 tests.addTest(doctest.DocTestSuite(pickletools))
|
H A D | test_zipimport_support.py | 12 import doctest namespace 25 # doctest (Issue 4197) 37 finder = doctest.DocTestFinder(verbose=verbose, recurse=False) 38 runner = doctest.DocTestRunner(verbose=verbose) 51 print ('doctest (%s) ... %d tests with zero failures' % (module.__name__, t)) 96 # To avoid having to keep two copies of the doctest module's 109 # The sample doctest files rewritten to include in the zipped version. 138 # which aren't available to the zipped version (the doctest 142 # doctest could really use some APIs which take a text 192 import doctest [all...] |
H A D | test_cmd.py | 9 import doctest namespace 82 >>> mycmd.onecmd("help meaning") # doctest: +NORMALIZE_WHITESPACE 128 >>> mycmd.cmdloop() # doctest: +REPORT_NDIFF 248 tests.addTest(doctest.DocTestSuite())
|
/third_party/rust/crates/nom/src/ |
H A D | lib.rs | 383 #[cfg(doctest)] 386 #[cfg(doctest)] 387 doc_comment::doctest!("../README.md");
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_versionpredicate.py | 6 import doctest namespace 10 return doctest.DocTestSuite(distutils.versionpredicate)
|
/third_party/python/Doc/includes/ |
H A D | test.py | 198 import doctest, __main__ namespace 199 doctest.testmod(__main__)
|
/third_party/nghttp2/doc/ |
H A D | make.bat | 33 echo. doctest to run all doctests embedded in the documentation if enabled 161 if "%1" == "doctest" ( 162 %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest 166 results in %BUILDDIR%/doctest/output.txt.
|
/third_party/json/tests/thirdparty/doctest/ |
H A D | doctest.h | 5 // doctest.h - the lightest feature-rich C++ single-header testing framework for unit tests and TDD 14 // https://github.com/onqtam/doctest/blob/master/doc/markdown/readme.md 430 // see this issue on why this is needed: https://github.com/onqtam/doctest/issues/183 447 namespace doctest { namespace 939 // see this issue on why this is needed: https://github.com/onqtam/doctest/issues/183 1082 #define SFINAE_OP(ret,op) decltype(doctest::detail::declval<L>() op doctest::detail::declval<R>(),static_cast<ret>(0)) 1087 bool res = op_macro(doctest::detail::forward<L>(lhs), doctest::detail::forward<R>(rhs)); \ 1090 if(!res || doctest [all...] |
/third_party/python/Tools/demo/ |
H A D | vector.py | 91 import doctest namespace 92 doctest.testmod()
|
/third_party/python/Lib/test/test_json/ |
H A D | __init__.py | 3 import doctest namespace 53 suite.addTest(doctest.DocTestSuite(mod))
|
/third_party/python/Doc/ |
H A D | Makefile | 27 suspicious coverage doctest pydoc-topics htmlview clean dist check serve \ 44 @echo " doctest to run doctests in the documentation" 131 doctest: BUILDER = doctest 132 doctest: 135 "results in build/doctest/output.txt"; \
|
/third_party/libuv/docs/ |
H A D | make.bat | 40 echo. doctest to run all doctests embedded in the documentation if enabled
218 if "%1" == "doctest" (
219 %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
223 results in %BUILDDIR%/doctest/output.txt.
|