Home
last modified time | relevance | path

Searched +refs:doctest +refs:version (Results 1 – 25 of 3952) sorted by relevance

12345678910>>...159

/dports/devel/py-zope.testing/zope.testing-4.1.0/src/zope/testing/doctest/
H A D__init__.py48 if sys.version > '2.5':
61 import doctest
63 if sys.version < '3':
64 _org_SpoofOut = doctest._SpoofOut
71 doctest._SpoofOut = _patched_SpoofOut
76 if sys.version < '2.6.5':
92 doctest._indent = _indent
98 if sys.version < '2.5':
145 doctest.testfile = _patched_testfile
233 if doctest._unittest_reportflags & doctest.REPORT_ONLY_FIRST_FAILURE:
[all …]
/dports/devel/py-zope.testing/zope.testing-4.1.0/src/zope/testing/
H A Dtests.py15 import doctest
22 if sys.version < '3':
27 from zope.testing import doctest
37 doctest.DocFileSuite(
47 doctest.DocFileSuite('renormalizing.txt', setUp=setUp),
48 doctest.DocFileSuite('setupstack.txt', setUp=setUp),
49 doctest.DocFileSuite(
58 if sys.version < '3':
59 suite.addTests(doctest.DocFileSuite('doctest.txt'))
60 suite.addTests(doctest.DocFileSuite('unicode.txt'))
[all …]
/dports/math/py-gmpy2/gmpy2-2.1.1/test/
H A Druntests.py6 import doctest
7 from doctest import DocTestParser, Example, SKIP
49 SKIP_MPC_LESS_THAN_110 = doctest.register_optionflag("SKIP_MPC_LESS_THAN_110")
52 SKIP_IN_DEBUG_MODE = doctest.register_optionflag("SKIP_IN_DEBUG_MODE")
70 print("Unit tests for gmpy2 {0} with Python {1}".format(gmpy2.version(), sys.version.split()[0]))
78 if sys.version.startswith('3.1.'):
120 if sys.version >= "3.2":
124 if test.endswith("py2.txt") and sys.version >= "3":
126 if test.endswith("py3.txt") and sys.version < "3":
129 result = doctest.testfile(test, globs=globals(),
[all …]
/dports/math/py-gmpy2-devel/gmpy-gmpy2-2.1.0b5/test/
H A Druntests.py6 import doctest
7 from doctest import DocTestParser, Example, SKIP
49 SKIP_MPC_LESS_THAN_110 = doctest.register_optionflag("SKIP_MPC_LESS_THAN_110")
52 SKIP_IN_DEBUG_MODE = doctest.register_optionflag("SKIP_IN_DEBUG_MODE")
70 print("Unit tests for gmpy2 {0} with Python {1}".format(gmpy2.version(), sys.version.split()[0]))
78 if sys.version.startswith('3.1'):
120 if sys.version >= "3.2":
124 if test.endswith("py2.txt") and sys.version >= "3":
126 if test.endswith("py3.txt") and sys.version < "3":
129 result = doctest.testfile(test, globs=globals(),
[all …]
/dports/devel/cquery/cquery-20180718/third_party/doctest/doc/markdown/
H A Dbuild-systems.md3 …e latest released version of doctest can be obtained from here: https://raw.githubusercontent.com/…
5 You can substitute ```master``` with ```dev``` or a tag like ```1.2.0``` for a specific version in …
15 # Prepare doctest for other targets to use
16 add_library(doctest INTERFACE)
17 target_include_directories(doctest INTERFACE path/to/doctest)
21 target_link_libraries(tests doctest)
31 doctest
32 PREFIX ${CMAKE_BINARY_DIR}/doctest
43 ExternalProject_Get_Property(doctest source_dir)
44 set(DOCTEST_INCLUDE_DIR ${source_dir}/doctest CACHE INTERNAL "Path to include folder for doctest")
[all …]
/dports/lang/python39/Python-3.9.9/Doc/library/
H A Dimportlib.metadata.rst16 version semantics of the standard library.
40 Let's say you wanted to get the version string for a package you've installed
50 You can get the version string for ``wheel`` by running the following:
55 >>> from importlib.metadata import version # doctest: +SKIP
56 >>> version('wheel') # doctest: +SKIP
68 You can also get a :ref:`distribution's version number <version>`, list its
105 >>> main # doctest: +SKIP
137 The ``version()`` function is the quickest way to get a distribution's version
140 >>> version('wheel') # doctest: +SKIP
213 Thus, an alternative way to get the version number is through the
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Doc/library/
H A Dimportlib.metadata.rst16 version semantics of the standard library.
40 Let's say you wanted to get the version string for a package you've installed
50 You can get the version string for ``wheel`` by running the following:
55 >>> from importlib.metadata import version # doctest: +SKIP
56 >>> version('wheel') # doctest: +SKIP
68 You can also get a :ref:`distribution's version number <version>`, list its
97 >>> main # doctest: +SKIP
129 The ``version()`` function is the quickest way to get a distribution's version
132 >>> version('wheel') # doctest: +SKIP
199 Thus, an alternative way to get the version number is through the
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Doc/library/
H A Dimportlib.metadata.rst16 version semantics of the standard library.
40 Let's say you wanted to get the version string for a package you've installed
50 You can get the version string for ``wheel`` by running the following:
55 >>> from importlib.metadata import version # doctest: +SKIP
56 >>> version('wheel') # doctest: +SKIP
68 You can also get a :ref:`distribution's version number <version>`, list its
97 >>> main # doctest: +SKIP
129 The ``version()`` function is the quickest way to get a distribution's version
132 >>> version('wheel') # doctest: +SKIP
199 Thus, an alternative way to get the version number is through the
[all …]
/dports/lang/python38/Python-3.8.12/Doc/library/
H A Dimportlib.metadata.rst16 version semantics of the standard library.
40 Let's say you wanted to get the version string for a package you've installed
50 You can get the version string for ``wheel`` by running the following:
55 >>> from importlib.metadata import version # doctest: +SKIP
56 >>> version('wheel') # doctest: +SKIP
68 You can also get a :ref:`distribution's version number <version>`, list its
97 >>> main # doctest: +SKIP
129 The ``version()`` function is the quickest way to get a distribution's version
132 >>> version('wheel') # doctest: +SKIP
199 Thus, an alternative way to get the version number is through the
[all …]
/dports/lang/python-tools/Python-3.8.12/Doc/library/
H A Dimportlib.metadata.rst16 version semantics of the standard library.
40 Let's say you wanted to get the version string for a package you've installed
50 You can get the version string for ``wheel`` by running the following:
55 >>> from importlib.metadata import version # doctest: +SKIP
56 >>> version('wheel') # doctest: +SKIP
68 You can also get a :ref:`distribution's version number <version>`, list its
97 >>> main # doctest: +SKIP
129 The ``version()`` function is the quickest way to get a distribution's version
132 >>> version('wheel') # doctest: +SKIP
199 Thus, an alternative way to get the version number is through the
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Doc/library/
H A Dimportlib.metadata.rst16 version semantics of the standard library.
40 Let's say you wanted to get the version string for a package you've installed
50 You can get the version string for ``wheel`` by running the following:
55 >>> from importlib.metadata import version # doctest: +SKIP
56 >>> version('wheel') # doctest: +SKIP
68 You can also get a :ref:`distribution's version number <version>`, list its
97 >>> main # doctest: +SKIP
129 The ``version()`` function is the quickest way to get a distribution's version
132 >>> version('wheel') # doctest: +SKIP
199 Thus, an alternative way to get the version number is through the
[all …]
/dports/math/octave-forge-doctest/doctest-0.7.0/
H A DNEWS1 doctest 0.7.0 (2019-03-23)
14 doctest 0.6.1 (2018-01-04)
21 doctest 0.6.0 (2017-12-25)
28 * Minimum supported Octave version is now 4.2.0. The package no longer
33 doctest 0.5.0 (2016-11-13)
46 might disappear without warning in a future version.
50 * Minimum supported Octave version is now 4.0.0.
54 doctest 0.4.1 (2016-01-04)
91 doctest 0.4.0 (2015-07-02)
117 doctest 0.3.0 (2015-05-12)
[all …]
/dports/devel/py-zc.buildout/zc.buildout-2.11.3/src/zc/buildout/
H A Dtests.py18 import doctest
20 import manuel.doctest
272 % (name, version, requires)
2241 for version in existing:
2243 for version in available:
2254 print_('had', dist.version)
3318 def add_source_dist(test, version=1.4): argument
3518 optionflags=doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS,
3575 optionflags=doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS,
3605 optionflags=doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS,
[all …]
/dports/lang/python310/Python-3.10.1/Doc/library/
H A Dimportlib.metadata.rst38 Let's say you wanted to get the version string for a package you've installed
48 You can get the version string for ``wheel`` by running the following:
53 >>> from importlib.metadata import version # doctest: +SKIP
54 >>> version('wheel') # doctest: +SKIP
66 You can also get a :ref:`distribution's version number <version>`, list its
133 >>> main # doctest: +SKIP
190 The ``version()`` function is the quickest way to get a distribution's version
193 >>> version('wheel') # doctest: +SKIP
209 >>> util # doctest: +SKIP
279 Thus, an alternative way to get the version number is through the
[all …]
/dports/lang/python311/Python-3.11.0a3/Doc/library/
H A Dimportlib.metadata.rst38 Let's say you wanted to get the version string for a package you've installed
48 You can get the version string for ``wheel`` by running the following:
53 >>> from importlib.metadata import version # doctest: +SKIP
54 >>> version('wheel') # doctest: +SKIP
66 You can also get a :ref:`distribution's version number <version>`, list its
133 >>> main # doctest: +SKIP
190 The ``version()`` function is the quickest way to get a distribution's version
193 >>> version('wheel') # doctest: +SKIP
209 >>> util # doctest: +SKIP
279 Thus, an alternative way to get the version number is through the
[all …]
/dports/devel/doctest/doctest-2.4.7/doc/markdown/
H A Dbuild-systems.md3 …e latest released version of doctest can be obtained from here: https://raw.githubusercontent.com/…
5 You can substitute ```master``` with ```dev``` or a tag like ```1.2.9``` for a specific version in …
15 # Prepare doctest for other targets to use
16 find_package(doctest REQUIRED)
21 target_link_libraries(test PRIVATE doctest::doctest)
31 doctest
32 PREFIX ${CMAKE_BINARY_DIR}/doctest
43 ExternalProject_Get_Property(doctest source_dir)
44 set(DOCTEST_INCLUDE_DIR ${source_dir}/doctest CACHE INTERNAL "Path to include folder for doctest")
61 target_link_libraries(my_tests doctest)
[all …]
/dports/math/py-gmpy/gmpy-1.17/test3/
H A Dgmpy_test_mpf.py15 import gmpy as _g, doctest, sys
404 print(" running on Python %s" % sys.version)
408 (_g.version(), _g.gmp_version(), _g.get_cache()[0],
412 (_g.version(), _g.mpir_version(), _g.get_cache()[0],
416 doctest.testmod(thismod, report=0)
428 doctest.testmod(thismod, report=0)
435 return doctest.master.summarize(chat)
H A Dgmpy_test_mpq.py11 import gmpy as _g, doctest,sys
344 print(" running on Python",sys.version)
348 (_g.version(), _g.gmp_version(), _g.get_cache()[0],
352 (_g.version(), _g.mpir_version(), _g.get_cache()[0],
356 doctest.testmod(thismod, report=0)
368 doctest.testmod(thismod, report=0)
375 return doctest.master.summarize(chat)
H A Dgmpy_test_rnd.py10 import gmpy as _g, doctest,sys
125 if sys.version<'2.4':
131 print(" running on Python %s" % sys.version)
135 (_g.version(), _g.gmp_version(), _g.get_cache()[0],
139 (_g.version(), _g.mpir_version(), _g.get_cache()[0],
143 doctest.testmod(thismod, report=0)
148 return doctest.master.summarize(chat)
/dports/math/py-gmpy/gmpy-1.17/test/
H A Dgmpy_test_mpf.py14 import gmpy as _g, doctest, sys
400 print " running on Python %s" % sys.version
404 (_g.version(), _g.gmp_version(), _g.get_cache()[0],
408 (_g.version(), _g.mpir_version(), _g.get_cache()[0],
412 doctest.testmod(thismod, report=0)
423 doctest.testmod(thismod, report=0)
430 return doctest.master.summarize(chat)
H A Dgmpy_test_mpq.py10 import gmpy as _g, doctest,sys
318 print " running on Python",sys.version
322 (_g.version(), _g.gmp_version(), _g.get_cache()[0],
326 (_g.version(), _g.mpir_version(), _g.get_cache()[0],
330 doctest.testmod(thismod, report=0)
341 doctest.testmod(thismod, report=0)
348 return doctest.master.summarize(chat)
H A Dgmpy_test_rnd.py10 import gmpy as _g, doctest,sys
122 if sys.version<'2.4':
128 print " running on Python %s" % sys.version
132 (_g.version(), _g.gmp_version(), _g.get_cache()[0],
136 (_g.version(), _g.mpir_version(), _g.get_cache()[0],
140 doctest.testmod(thismod, report=0)
145 return doctest.master.summarize(chat)
/dports/security/py-stem/stem-1.8.0/test/unit/
H A Ddoctest.py7 import doctest
15 import stem.version
73 test_run = doctest.testfile(path, **args)
83 test_run = doctest.testfile(path, **args)
89 test_run = doctest.testfile(path, **args)
95 test_run = doctest.testfile(path, **args)
108 test_run = doctest.testfile(path, **args)
122 test_run = doctest.testfile(path, **args)
124 …with patch('stem.version.get_system_tor_version', Mock(return_value = stem.version.Version('0.2.1.…
125 test_run = doctest.testfile(path, **args)
[all …]
/dports/devel/py-zope.deprecation/zope.deprecation-4.1.2/docs/
H A Dapi.rst11 .. doctest::
45 has been deprecated. It is good practice to also list the version in which the
50 .. doctest::
235 ... zope.deprecation.moved('zope.deprecation.new_location', 'version 2')
261 in version 2
293 ... zope.deprecation.moved('zope.deprecation.new_package', 'version 2')
297 ... zope.deprecation.moved('zope.deprecation.new_package.m1', 'version 2')
301 ... zope.deprecation.moved('zope.deprecation.new_package.m2', 'version 2')
317 Import of zope.deprecation.old_package will become unsupported in version 2
329 version 2
[all …]
/dports/sysutils/py-ranger/ranger-1.9.3/.github/workflows/
H A Ddoctest.yml1 name: Python doctest and pytest
6 - '.github/workflows/doctest.yml'
15 python-version: [2.7, 3.5, 3.6]
20 - name: Set up Python ${{ matrix.python-version }}
23 python-version: ${{ matrix.python-version }}
28 - name: doctest

12345678910>>...159