Home
last modified time | relevance | path

Searched refs:doctests (Results 1 – 25 of 2191) sorted by relevance

12345678910>>...88

/dports/lang/rust/rustc-1.58.1-src/src/test/run-make-fulldeps/doctests-keep-binaries/
H A DMakefile8 mkdir -p $(TMPDIR)/doctests
10 …$(RUSTDOC) -Zunstable-options --test --persist-doctests $(TMPDIR)/doctests --extern t=$(TMPDIR)/li…
11 $(TMPDIR)/doctests/t_rs_2_0/rust_out
12 $(TMPDIR)/doctests/t_rs_8_0/rust_out
13 rm -rf $(TMPDIR)/doctests
16 mkdir -p $(TMPDIR)/doctests
18 …$(RUSTDOC) -Zunstable-options --test --persist-doctests $(TMPDIR)/doctests --extern t=$(TMPDIR)/li…
19 $(TMPDIR)/doctests/t_rs_2_0/rust_out
20 $(TMPDIR)/doctests/t_rs_8_0/rust_out
21 rm -rf $(TMPDIR)/doctests
/dports/devel/py-lxml/lxml-4.7.1/src/lxml/tests/
H A Dcommon_imports.py120 doctests = read_file(filename)
121 doctests = _fix_unicode(r'\1\2', doctests)
122 doctests = _fix_exceptions(r'\1 as \2', doctests)
125 doctests, {}, os.path.basename(filename), filename, 0))
145 doctests = read_file(filename)
146 doctests = _fix_traceback(r'\1\2', doctests)
147 doctests = _fix_exceptions(r'\1, \2', doctests)
148 doctests = _fix_bytes(r'\1\2', doctests)
151 doctests, {}, os.path.basename(filename), filename, 0))
/dports/textproc/py-et_xmlfile/et_xmlfile-1.0.1/et_xmlfile/tests/
H A Dcommon_imports.py136 doctests = read_file(filename)
137 doctests = _fix_unicode(r'\1\2', doctests)
138 doctests = _fix_exceptions(r'\1 as \2', doctests)
141 doctests, {}, os.path.basename(filename), filename, 0))
157 doctests = read_file(filename)
158 doctests = _fix_traceback(r'\1\2', doctests)
159 doctests = _fix_exceptions(r'\1, \2', doctests)
160 doctests = _fix_bytes(r'\1\2', doctests)
163 doctests, {}, os.path.basename(filename), filename, 0))
/dports/science/py-dipy/dipy-1.4.1/tools/
H A Ddipnost16 from nose.plugins import doctests
26 pk = doctests.getpackage(filename)
44 doctests.DocTestCase.id = id
49 nose.core.TestProgram(argv=argv, addplugins=[doctests.Doctest()])
/dports/math/py-numpy/numpy-1.20.3/numpy/testing/_private/
H A Dnosetester.py263 doctests=False, coverage=False, timer=False): argument
311 if doctests == False and doctest_argv:
312 doctests = True
316 if doctests and not doctest_argv:
322 if doctests:
327 doctests=False, coverage=False, raise_warnings=None, argument
403 label, verbose, extra_argv, doctests, coverage, timer)
405 if doctests:
/dports/textproc/py-nltk/nltk-3.4.1/web/dev/
H A Dlocal_testing.rst34 Run tree doctests for all available interpreters::
60 This format is very expressive, and doctests are usually read
62 if you're contributing code to NLTK please prefer doctests
68 That said, doctests have their limitations and sometimes it is better to use
80 There are some gotchas with NLTK doctests (and with doctests in general):
82 * Use ``print("foo")``, not ``print "foo"``: NLTK doctests act
88 * Do not write doctests that has non-ascii output (they are not supported in
119 * In order to conditionally skip all doctests from the module/class/function
128 raise SkipTest("doctests from nltk.<foo>.<bar> are skipped because <...>")
133 It is not possible to conditionally skip only some doctests from a module.
[all …]
/dports/science/py-nibabel/nibabel-3.2.1/nibabel/tests/
H A Dtest_init.py13 def test_nibabel_test(verbose, v_args, doctests, coverage): argument
15 if not doctests:
21 nib.test(verbose=verbose, doctests=doctests, coverage=coverage)
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_unpack_ex.py5 doctests = """ variable
398 __test__ = {'doctests' : doctests}
400 __test__ = {'doctests' : doctests + new_parser_doctests}
/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal47 -- You can disable the doctests test suite with -f-test-doctests
48 flag test-doctests
121 test-suite doctests
124 main-is: doctests.hs
128 if !flag(test-doctests)
/dports/games/hedgewars-server/hedgewars-src-1.0.0/gameServer/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal47 -- You can disable the doctests test suite with -f-test-doctests
48 flag test-doctests
121 test-suite doctests
124 main-is: doctests.hs
128 if !flag(test-doctests)
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal47 -- You can disable the doctests test suite with -f-test-doctests
48 flag test-doctests
121 test-suite doctests
124 main-is: doctests.hs
128 if !flag(test-doctests)
/dports/devel/hs-hpack/hpack-0.34.4/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal46 -- You can disable the doctests test suite with -f-test-doctests
47 flag test-doctests
120 test-suite doctests
123 main-is: doctests.hs
127 if !flag(test-doctests)
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal47 -- You can disable the doctests test suite with -f-test-doctests
48 flag test-doctests
121 test-suite doctests
124 main-is: doctests.hs
128 if !flag(test-doctests)
/dports/converters/hs-aeson-pretty/aeson-pretty-0.8.8/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal46 -- You can disable the doctests test suite with -f-test-doctests
47 flag test-doctests
120 test-suite doctests
123 main-is: doctests.hs
127 if !flag(test-doctests)
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal47 -- You can disable the doctests test suite with -f-test-doctests
48 flag test-doctests
121 test-suite doctests
124 main-is: doctests.hs
128 if !flag(test-doctests)
/dports/devel/elm-format/elm-format-0.8.3/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal46 -- You can disable the doctests test suite with -f-test-doctests
47 flag test-doctests
120 test-suite doctests
123 main-is: doctests.hs
127 if !flag(test-doctests)
/dports/x11/conlecterm/conlecterm-1.4.3.0/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal47 -- You can disable the doctests test suite with -f-test-doctests
48 flag test-doctests
121 test-suite doctests
124 main-is: doctests.hs
128 if !flag(test-doctests)
/dports/x11/hs-xmobar/xmobar-0.39/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal47 -- You can disable the doctests test suite with -f-test-doctests
48 flag test-doctests
121 test-suite doctests
124 main-is: doctests.hs
128 if !flag(test-doctests)
/dports/www/hs-DAV/DAV-1.3.4/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal47 -- You can disable the doctests test suite with -f-test-doctests
48 flag test-doctests
121 test-suite doctests
124 main-is: doctests.hs
128 if !flag(test-doctests)
/dports/textproc/cgrep/cgrep-6.6.32/_cabal_deps/comonad-5.0.6/
H A Dcomonad.cabal46 -- You can disable the doctests test suite with -f-test-doctests
47 flag test-doctests
120 test-suite doctests
123 main-is: doctests.hs
127 if !flag(test-doctests)
/dports/devel/py-pytest/pytest-4.6.11/doc/en/
H A Ddoctest.rst44 In addition to text files, you can also execute doctests directly from docstrings of your classes
84 including doctests, ``.. codeblock:: python`` Sphinx directive support,
118 pytest also introduces new options to allow doctests to run in Python 2 and
147 You can change the diff output format on failure for your doctests
164 Some features are provided to make writing doctests easier or with better integration with
166 your doctests incompatible with the standard ``doctests`` module.
190 namespace in which your doctests run. It is intended to be used within
202 which can then be used in your doctests directly::
222 You can use ``pytest.skip`` to dynamically skip doctests. For example::
/dports/games/hedgewars-server/hedgewars-src-1.0.0/gameServer/_cabal_deps/cabal-doctest-1.0.8/
H A DREADME.md6 A `Setup.hs` helper for running `doctests`.
12 doctests—adapting the simple example located
15 you can relax this bound safely, although running doctests won't be supported
41 main = defaultMainWithDoctests "doctests"
133 -- doctests for library
137 -- doctests for executable
157 test-suite doctests:
182 `doctests` test suite. See
200 * You can use `x-doctest-options` field in `test-suite doctests` to
213 * If you use QuickCheck properties (`prop>`) in your doctests,
[all …]
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/cabal-doctest-1.0.8/
H A DREADME.md6 A `Setup.hs` helper for running `doctests`.
12 doctests—adapting the simple example located
15 you can relax this bound safely, although running doctests won't be supported
41 main = defaultMainWithDoctests "doctests"
133 -- doctests for library
137 -- doctests for executable
157 test-suite doctests:
182 `doctests` test suite. See
200 * You can use `x-doctest-options` field in `test-suite doctests` to
213 * If you use QuickCheck properties (`prop>`) in your doctests,
[all …]
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/cabal-doctest-1.0.8/
H A DREADME.md6 A `Setup.hs` helper for running `doctests`.
12 doctests—adapting the simple example located
15 you can relax this bound safely, although running doctests won't be supported
41 main = defaultMainWithDoctests "doctests"
133 -- doctests for library
137 -- doctests for executable
157 test-suite doctests:
182 `doctests` test suite. See
200 * You can use `x-doctest-options` field in `test-suite doctests` to
213 * If you use QuickCheck properties (`prop>`) in your doctests,
[all …]
/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/cabal-doctest-1.0.8/
H A DREADME.md6 A `Setup.hs` helper for running `doctests`.
12 doctests—adapting the simple example located
15 you can relax this bound safely, although running doctests won't be supported
41 main = defaultMainWithDoctests "doctests"
133 -- doctests for library
137 -- doctests for executable
157 test-suite doctests:
182 `doctests` test suite. See
200 * You can use `x-doctest-options` field in `test-suite doctests` to
213 * If you use QuickCheck properties (`prop>`) in your doctests,
[all …]

12345678910>>...88