mirror of
https://github.com/Dvorinka/Devour.git
synced 2026-06-04 12:33:04 +00:00
2023 lines
345 KiB
Markdown
2023 lines
345 KiB
Markdown
https://docs.python.org/3/search.html?q=test
|
||
|
||
|
||
<body cz-shortcut-listen="true">
|
||
<div class="mobile-nav">
|
||
<input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation" aria-pressed="false" aria-expanded="false" role="button" aria-label="Menu">
|
||
<nav class="nav-content" role="navigation">
|
||
<label for="menuToggler" class="toggler__label">
|
||
<span></span>
|
||
</label>
|
||
<span class="nav-items-wrapper">
|
||
<a href="https://www.python.org/" class="nav-logo">
|
||
<img src="_static/py.svg" alt="Python logo">
|
||
</a>
|
||
<span class="version_switcher_placeholder"><select class="version-select" aria-label="Python version"><option value="3.15">dev (3.15)</option><option value="3.14">3.14.3</option><option value="3.13">3.13</option><option value="3.12">3.12</option><option value="3.11">3.11</option><option value="3.10">3.10</option><option value="3.9">3.9</option><option value="3.8">3.8</option><option value="3.7">3.7</option><option value="3.6">3.6</option><option value="3.5">3.5</option><option value="3.4">3.4</option><option value="3.3">3.3</option><option value="3.2">3.2</option><option value="3.1">3.1</option><option value="3.0">3.0</option><option value="2.7">2.7</option><option value="2.6">2.6</option></select></span>
|
||
</span>
|
||
</nav>
|
||
<div class="menu-wrapper">
|
||
<nav class="menu" role="navigation" aria-label="main navigation" tabindex="-1">
|
||
<div class="language_switcher_placeholder"><select class="language-select" aria-label="Language"><option value="el">Greek | Ελληνικά</option><option value="en">English</option><option value="es">Spanish | español</option><option value="fr">French | français</option><option value="it">Italian | italiano</option><option value="ja">Japanese | 日本語</option><option value="ko">Korean | 한국어</option><option value="pl">Polish | polski</option><option value="pt-br">Brazilian Portuguese | Português brasileiro</option><option value="ro">Romanian | Românește</option><option value="tr">Turkish | Türkçe</option><option value="zh-cn">Simplified Chinese | 简体中文</option><option value="zh-tw">Traditional Chinese | 繁體中文</option></select></div>
|
||
|
||
<label class="theme-selector-label">
|
||
Theme
|
||
<select class="theme-selector" oninput="activateTheme(this.value)">
|
||
<option value="auto" selected="">Auto</option>
|
||
<option value="light">Light</option>
|
||
<option value="dark">Dark</option>
|
||
</select>
|
||
</label>
|
||
</nav>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div class="related" role="navigation" aria-label="Related">
|
||
<h3>Navigation</h3>
|
||
<ul>
|
||
<li class="right" style="margin-right: 10px">
|
||
<a href="genindex.html" title="General Index" accesskey="I">index</a></li>
|
||
<li class="right">
|
||
<a href="py-modindex.html" title="Python Module Index">modules</a> |</li>
|
||
|
||
<li><img src="_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>
|
||
<li><a href="https://www.python.org/">Python</a> »</li>
|
||
<li class="switchers">
|
||
<div class="language_switcher_placeholder"><select class="language-select" aria-label="Language"><option value="el">Greek | Ελληνικά</option><option value="en">English</option><option value="es">Spanish | español</option><option value="fr">French | français</option><option value="it">Italian | italiano</option><option value="ja">Japanese | 日本語</option><option value="ko">Korean | 한국어</option><option value="pl">Polish | polski</option><option value="pt-br">Brazilian Portuguese | Português brasileiro</option><option value="ro">Romanian | Românește</option><option value="tr">Turkish | Türkçe</option><option value="zh-cn">Simplified Chinese | 简体中文</option><option value="zh-tw">Traditional Chinese | 繁體中文</option></select></div>
|
||
<div class="version_switcher_placeholder"><select class="version-select" aria-label="Python version"><option value="3.15">dev (3.15)</option><option value="3.14">3.14.3</option><option value="3.13">3.13</option><option value="3.12">3.12</option><option value="3.11">3.11</option><option value="3.10">3.10</option><option value="3.9">3.9</option><option value="3.8">3.8</option><option value="3.7">3.7</option><option value="3.6">3.6</option><option value="3.5">3.5</option><option value="3.4">3.4</option><option value="3.3">3.3</option><option value="3.2">3.2</option><option value="3.1">3.1</option><option value="3.0">3.0</option><option value="2.7">2.7</option><option value="2.6">2.6</option></select></div>
|
||
</li>
|
||
<li>
|
||
|
||
</li>
|
||
<li id="cpython-language-and-version">
|
||
<a href="index.html">3.14.3 Documentation</a> »
|
||
</li>
|
||
|
||
<li class="nav-item nav-item-this"><a href="">Search</a></li>
|
||
<li class="right">
|
||
<label class="theme-selector-label">
|
||
Theme
|
||
<select class="theme-selector" oninput="activateTheme(this.value)">
|
||
<option value="auto" selected="">Auto</option>
|
||
<option value="light">Light</option>
|
||
<option value="dark">Dark</option>
|
||
</select>
|
||
</label> |</li>
|
||
|
||
</ul>
|
||
</div>
|
||
|
||
<div class="document">
|
||
<div class="documentwrapper">
|
||
<div class="bodywrapper">
|
||
<div class="body" role="main">
|
||
|
||
<h1 id="search-documentation">Search</h1>
|
||
|
||
<noscript>
|
||
<div class="admonition warning">
|
||
<p>
|
||
Please activate JavaScript to enable the search
|
||
functionality.
|
||
</p>
|
||
</div>
|
||
</noscript>
|
||
|
||
|
||
<p>
|
||
Searching for multiple words only shows matches that contain
|
||
all words.
|
||
</p>
|
||
|
||
|
||
<form action="" method="get">
|
||
<input type="text" name="q" aria-labelledby="search-documentation" value="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">
|
||
<input type="submit" value="search">
|
||
<span id="search-progress" style="padding-left: 10px"></span>
|
||
</form>
|
||
|
||
|
||
<div id="search-results">
|
||
|
||
<div style="display: none;" class="admonition seealso" id="glossary-result">
|
||
<p class="topic-title">
|
||
<a id="glossary-title" href="#"></a>
|
||
</p>
|
||
<div id="glossary-body"></div>
|
||
</div>
|
||
<h2>Search Results</h2><p class="search-summary">Search finished, found 782 pages matching the search query.</p><ul role="list" class="search"><li class="kind-object"><a href="library/test.html#module-test" data-score="26"><span class="highlighted">test</span></a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/doctest.html#module-doctest" data-score="21">doc<span class="highlighted">test</span></a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/test.html#module-test.regrtest" data-score="21"><span class="highlighted">test</span>.regr<span class="highlighted">test</span></a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/unittest.html#module-unittest" data-score="21">unit<span class="highlighted">test</span></a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestFailure.test" data-score="16">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Failure.<span class="highlighted">test</span></a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.UnexpectedException.test" data-score="16">doc<span class="highlighted">test</span>.UnexpectedException.<span class="highlighted">test</span></a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-text"><a href="library/doctest.html" data-score="15"><code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples</a><p class="context">doc<span class="highlighted">test</span> — <span class="highlighted">Test</span> interactive Python examples
|
||
Source code: Lib/doc<span class="highlighted">test</span>.py
|
||
|
||
The doc<span class="highlighted">test</span> module searches for pieces of text that look like interactive
|
||
Python sessions, and then executes those sessions to verify that they work
|
||
ex...</p></li><li class="kind-text"><a href="library/keyword.html" data-score="15"><code class="xref py py-mod docutils literal notranslate"><span class="pre">keyword</span></code> — <span class="highlighted">Test</span>ing for Python keywords</a><p class="context">keyword — <span class="highlighted">Test</span>ing for Python keywords
|
||
Source code: Lib/keyword.py
|
||
|
||
This module allows a Python program to determine if a string is a
|
||
keyword or soft keyword.
|
||
|
||
|
||
keyword.iskeyword(s)
|
||
Return True if s is a Python keyword....</p></li><li class="kind-text"><a href="library/ssl.html" data-score="15"><code class="xref py py-mod docutils literal notranslate"><span class="pre">ssl</span></code> — TLS/SSL wrapper for socket objects</a><p class="context">...wn root
|
||
certificate, and no one else will have it in their cache of known (and trusted)
|
||
root certificates.
|
||
|
||
|
||
|
||
Examples
|
||
|
||
<span class="highlighted">Test</span>ing for SSL support
|
||
To <span class="highlighted">test</span> for the presence of SSL support in a Python installation, user code
|
||
should use the follo...</p></li><li class="kind-text"><a href="library/test.html" data-score="15"><code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python</a><p class="context"><span class="highlighted">test</span> — Regression <span class="highlighted">test</span>s package for Python
|
||
|
||
Note
|
||
The <span class="highlighted">test</span> package is meant for internal use by Python only. It is
|
||
documented for the benefit of the core developers of Python. Any use of
|
||
this package outside of Python’s stan...</p></li><li class="kind-text"><a href="library/unittest.mock-examples.html" data-score="15"><code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — getting started</a><p class="context">unit<span class="highlighted">test</span>.mock — getting started
|
||
|
||
Added in version 3.3.
|
||
|
||
|
||
Using Mock
|
||
|
||
Mock Patching Methods
|
||
Common uses for Mock objects include:
|
||
|
||
Patching methods
|
||
Recording method calls on objects
|
||
|
||
You might want to replace a method on an...</p></li><li class="kind-text"><a href="library/unittest.html" data-score="15"><code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework</a><p class="context">unit<span class="highlighted">test</span> — Unit <span class="highlighted">test</span>ing framework
|
||
Source code: Lib/unit<span class="highlighted">test</span>/__init__.py
|
||
|
||
(If you are already familiar with the basic concepts of <span class="highlighted">test</span>ing, you might want
|
||
to skip to the list of assert methods.)
|
||
The unit<span class="highlighted">test</span> unit <span class="highlighted">test</span>ing fram...</p></li><li class="kind-text"><a href="library/warnings.html" data-score="15"><code class="xref py py-mod docutils literal notranslate"><span class="pre">warnings</span></code> — Warning control</a><p class="context">...en in Python may wish to hide all Python level
|
||
warnings from their users by default, and only display them when running <span class="highlighted">test</span>s
|
||
or otherwise working on the application. The sys.warnoptions attribute
|
||
used to pass filter configurations to the i...</p></li><li class="kind-text"><a href="using/configure.html" data-score="15"><span class="section-number">3. </span>Configure Python</a><p class="context">...ent files in EPREFIX, defaults to --prefix.
|
||
This value can be retrieved at runtime using sys.exec_prefix.
|
||
|
||
|
||
|
||
|
||
--disable-<span class="highlighted">test</span>-modules
|
||
Don’t build nor install <span class="highlighted">test</span> modules, like the <span class="highlighted">test</span> package or the
|
||
_<span class="highlighted">test</span>capi extension module (built and in...</p></li><li class="kind-text"><a href="reference/expressions.html" data-score="15"><span class="section-number">6. </span>Expressions</a><p class="context">...>>> x is 7
|
||
<input>:1: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
|
||
True
|
||
|
||
|
||
See When can I rely on identity <span class="highlighted">test</span>s with the is operator? for more information.
|
||
|
||
Template strings are immutable but may reference mutable
|
||
objects as I...</p></li><li class="kind-text"><a href="using/ios.html" data-score="15"><span class="section-number">7. </span>Using Python on iOS</a><p class="context">...& Sign” selected.
|
||
In the “Build Settings” tab, modify the following:
|
||
|
||
Build Options
|
||
|
||
User Script Sandboxing: No
|
||
Enable <span class="highlighted">Test</span>ability: Yes
|
||
|
||
|
||
Search Paths
|
||
|
||
Framework Search Paths: $(PROJECT_DIR)
|
||
Header Search Paths: "$(BUILT_PRODUCTS_DIR)/Pyth...</p></li><li class="kind-text"><a href="library/stdtypes.html" data-score="15">Built-in Types</a><p class="context">...operations are supported by several object types; in particular,
|
||
practically all objects can be compared for equality, <span class="highlighted">test</span>ed for truth
|
||
value, and converted to a string (with the repr() function or the
|
||
slightly different str() function)....</p></li><li class="kind-text"><a href="whatsnew/changelog.html" data-score="15">Changelog</a><p class="context">...5: Make gdb ‘py-bt’ command use frame from thread local state when
|
||
available. Patch by Sam Gross and Victor Stinner.
|
||
|
||
|
||
|
||
<span class="highlighted">Test</span>s
|
||
|
||
gh-144415: The Android <span class="highlighted">test</span>bed now distinguishes between stdout/stderr
|
||
messages which were triggered by a newline...</p></li><li class="kind-text"><a href="howto/functional.html" data-score="15">Functional Programming HOWTO</a><p class="context">...and practical advantages
|
||
to the functional style:
|
||
|
||
Formal provability.
|
||
Modularity.
|
||
Composability.
|
||
Ease of debugging and <span class="highlighted">test</span>ing.
|
||
|
||
|
||
Formal provability
|
||
A theoretical benefit is that it’s easier to construct a mathematical proof that
|
||
a functio...</p></li><li class="kind-text"><a href="faq/general.html" data-score="15">General Python FAQ</a><p class="context">...grammed before. Is there a Python tutorial?
|
||
Is there a newsgroup or mailing list devoted to Python?
|
||
How do I get a beta <span class="highlighted">test</span> version of Python?
|
||
How do I submit bug reports and patches for Python?
|
||
Are there any published articles about Pytho...</p></li><li class="kind-text"><a href="license.html" data-score="15">History and License</a><p class="context">...nse Agreement, PSF hereby
|
||
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
|
||
analyze, <span class="highlighted">test</span>, perform and/or display publicly, prepare derivative works,
|
||
distribute, and otherwise use Python alone or in any...</p></li><li class="kind-text"><a href="faq/library.html" data-score="15">Library and Extension FAQ</a><p class="context">...r Python?
|
||
Is there an equivalent to C’s onexit() in Python?
|
||
Why don’t my signal handlers work?
|
||
|
||
|
||
Common tasks
|
||
|
||
How do I <span class="highlighted">test</span> a Python program or component?
|
||
How do I create documentation from doc strings?
|
||
How do I get a single keypress at a...</p></li><li class="kind-text"><a href="faq/programming.html" data-score="15">Programming FAQ</a><p class="context">...ist of all instances of a given class?
|
||
Why does the result of id() appear to be not unique?
|
||
When can I rely on identity <span class="highlighted">test</span>s with the is operator?
|
||
How can a subclass control what data is stored in an immutable instance?
|
||
How do I cache meth...</p></li><li class="kind-object"><a href="library/test.html#module-test.support" data-score="15"><span class="highlighted">test</span>.support</a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#module-test.support.bytecode_helper" data-score="15"><span class="highlighted">test</span>.support.bytecode_helper</a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#module-test.support.import_helper" data-score="15"><span class="highlighted">test</span>.support.import_helper</a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#module-test.support.os_helper" data-score="15"><span class="highlighted">test</span>.support.os_helper</a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#module-test.support.script_helper" data-score="15"><span class="highlighted">test</span>.support.script_helper</a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#module-test.support.socket_helper" data-score="15"><span class="highlighted">test</span>.support.socket_helper</a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#module-test.support.threading_helper" data-score="15"><span class="highlighted">test</span>.support.threading_helper</a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#module-test.support.warnings_helper" data-score="15"><span class="highlighted">test</span>.support.warnings_helper</a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/unittest.mock.html#module-unittest.mock" data-score="15">unit<span class="highlighted">test</span>.mock</a><span> (Python module, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-text"><a href="whatsnew/3.13.html" data-score="15">What’s New In Python 3.13</a><p class="context">...rove this
|
||
over the next few releases.
|
||
Color support in the new interactive interpreter,
|
||
as well as in tracebacks
|
||
and doc<span class="highlighted">test</span> output.
|
||
This can be disabled through the PYTHON_COLORS and NO_COLOR
|
||
environment variables.
|
||
|
||
Python data model impro...</p></li><li class="kind-text"><a href="whatsnew/3.5.html" data-score="15">What’s New In Python 3.5</a><p class="context">...lico and Guido van Rossum. Implemented by
|
||
Chris Angelico, Yury Selivanov and Nick Coghlan.
|
||
|
||
|
||
|
||
|
||
|
||
PEP 485: A function for <span class="highlighted">test</span>ing approximate equality
|
||
PEP 485 adds the math.isclose() and cmath.isclose()
|
||
functions which tell whether two values...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id1068" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-18982: Add <span class="highlighted">test</span>s for CLI of the calendar module.
|
||
bpo-19548: Added some additional checks to <span class="highlighted">test</span>_codecs to ensure that
|
||
statements in the updated documentation remain accurate. Patch by Martin
|
||
Panter.
|
||
bpo-22838: All <span class="highlighted">test</span>_re <span class="highlighted">test</span>s...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id1055" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-23583: Added <span class="highlighted">test</span>s for standard IO streams in IDLE.
|
||
bpo-22289: Prevent <span class="highlighted">test</span>_urllib2net failures due to ftp connection timeout.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id1049" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-23799: Added <span class="highlighted">test</span>.support.start_threads() for running and cleaning up
|
||
multiple threads.
|
||
bpo-22390: <span class="highlighted">test</span>.regr<span class="highlighted">test</span> now emits a warning if temporary files or
|
||
directories are left after running a <span class="highlighted">test</span>.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id1043" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-21520: <span class="highlighted">test</span>_zipfile no longer fails if the word ‘bad’ appears anywhere
|
||
in the name of the current directory.
|
||
bpo-9517: Move script_helper into the support package. Patch by Christie
|
||
Wilson.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id1035" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-24373: _<span class="highlighted">test</span>multiphase and xxlimited now use tp_traverse and
|
||
tp_finalize to avoid reference leaks encountered when combining tp_dealloc
|
||
with PyType_FromSpec (see bpo-16690 for details)</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id1029" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-24751: When running regr<span class="highlighted">test</span> with the -w command line option, a
|
||
<span class="highlighted">test</span> run is no longer marked as a failure if all <span class="highlighted">test</span>s succeed when
|
||
re-run.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id1014" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-25449: Added <span class="highlighted">test</span>s for OrderedDict subclasses.
|
||
bpo-25099: Make <span class="highlighted">test</span>_compileall not fail when an entry on sys.path cannot
|
||
be written to (commonly seen in administrative installs on Windows).
|
||
bpo-23919: Prevents assert dialogs app...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id1004" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-21916: Added <span class="highlighted">test</span>s for the turtle module. Patch by ingrid, Gregory
|
||
Loyse and Jelle Zijlstra.
|
||
bpo-26523: The multiprocessing thread pool (multiprocessing.dummy.Pool)
|
||
was un<span class="highlighted">test</span>ed.
|
||
bpo-26015: Added new <span class="highlighted">test</span>s for pickling iterator...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id997" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-26867: Ubuntu’s openssl OP_NO_SSLv3 is forced on by default; fix <span class="highlighted">test</span>.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id992" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-28950: Disallow -j0 to be combined with -T/-l/-M in regr<span class="highlighted">test</span> command
|
||
line arguments.
|
||
bpo-28666: Now <span class="highlighted">test</span>.support.rmtree is able to remove unwritable or
|
||
unreadable directories.
|
||
bpo-23839: Various caches now are cleared before run...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id982" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-30822: Fix regr<span class="highlighted">test</span> command line parser to allow passing -u
|
||
extralargefile to run <span class="highlighted">test</span>_zipfile64.
|
||
bpo-30383: regr<span class="highlighted">test</span>: Enhance regr<span class="highlighted">test</span> and backport features from the
|
||
master branch. Add options: –coverage, –<span class="highlighted">test</span>dir, –list-<span class="highlighted">test</span>s...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id969" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-21916: Added <span class="highlighted">test</span>s for the turtle module. Patch by ingrid, Gregory
|
||
Loyse and Jelle Zijlstra.
|
||
bpo-26295: When using “python3 -m <span class="highlighted">test</span> –<span class="highlighted">test</span>dir=<span class="highlighted">TEST</span>DIR”, regr<span class="highlighted">test</span>
|
||
doesn’t add “<span class="highlighted">test</span>.” prefix to <span class="highlighted">test</span> module names.
|
||
bpo-26523: The mul...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id959" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-25285: regr<span class="highlighted">test</span> now uses subprocesses when the -j1 command line option
|
||
is used: each <span class="highlighted">test</span> file runs in a fresh child process. Before, the -j1
|
||
option was ignored.
|
||
bpo-25285: Tools/buildbot/<span class="highlighted">test</span>.bat script now uses -j1 by default...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id953" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-27027: Added <span class="highlighted">test</span>.support.is_android that is True when this is an
|
||
Android build.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id942" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-25805: Skip a <span class="highlighted">test</span> in <span class="highlighted">test</span>_pkgutil as needed that doesn’t work when
|
||
__name__ == __main__. Patch by SilentGhost.
|
||
bpo-27472: Add <span class="highlighted">test</span>.support.unix_shell as the path to the default shell.
|
||
bpo-27369: In <span class="highlighted">test</span>_pyexpat, avoid <span class="highlighted">test</span>ing a...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id935" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-27427: Additional <span class="highlighted">test</span>s for the math module. Patch by Francisco Couzo.
|
||
bpo-27953: Skip math and cmath <span class="highlighted">test</span>s that fail on OS X 10.4 due to a poor
|
||
libm implementation of tan.
|
||
bpo-26040: Improve <span class="highlighted">test</span>_math and <span class="highlighted">test</span>_cmath coverage an...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id930" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-28217: Adds _<span class="highlighted">test</span>console module to <span class="highlighted">test</span> console input.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id924" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-26944: Fix <span class="highlighted">test</span>_posix for Android where ‘id -G’ is entirely wrong or
|
||
missing the effective gid.
|
||
bpo-28409: regr<span class="highlighted">test</span>: fix the parser of command line arguments.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id918" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-28666: Now <span class="highlighted">test</span>.support.rmtree is able to remove unwritable or
|
||
unreadable directories.
|
||
bpo-23839: Various caches now are cleared before running every <span class="highlighted">test</span> file.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id904" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-28087: Skip <span class="highlighted">test</span>_asyncore and <span class="highlighted">test</span>_eintr poll failures on macOS. Skip
|
||
some <span class="highlighted">test</span>s of select.poll when running on macOS due to unresolved issues
|
||
with the underlying system poll function on some macOS versions.
|
||
bpo-29571: to match...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id894" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-30357: <span class="highlighted">test</span>_thread: setUp() now uses support.threading_setup() and
|
||
support.threading_cleanup() to wait until threads complete to avoid random
|
||
side effects on following <span class="highlighted">test</span>s. Initial patch written by Grzegorz
|
||
Grzywacz.
|
||
bpo-30197...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id880" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-31320: Silence traceback in <span class="highlighted">test</span>_ssl
|
||
bpo-25674: Remove sha256.tbs-internet.com ssl <span class="highlighted">test</span>
|
||
bpo-30715: Address ALPN callback changes for OpenSSL 1.1.0f. The la<span class="highlighted">test</span>
|
||
version behaves like OpenSSL 1.0.2 and no longer aborts handshake.
|
||
b...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id867" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-31380: Skip <span class="highlighted">test</span>_httpservers <span class="highlighted">test</span>_undecodable_file on macOS: fails on
|
||
APFS.
|
||
bpo-31705: Skip <span class="highlighted">test</span>_socket.<span class="highlighted">test</span>_sha256() on Linux kernel older than 4.5.
|
||
The <span class="highlighted">test</span> fails with ENOKEY on kernel 3.10 (on ppc64le). A fix was merged
|
||
into...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id857" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-32517: Fix failing <span class="highlighted">test</span>_asyncio on macOS 10.12.2+ due to transport
|
||
of KqueueSelector loop was not being closed.
|
||
bpo-32721: Fix <span class="highlighted">test</span>_hashlib to not fail if the _md5 module is not built.
|
||
bpo-32252: Fix faulthandler_suppress_crash_...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id851" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-32872: Avoid regr<span class="highlighted">test</span> compatibility issue with namespace packages.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id844" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-33655: Ignore <span class="highlighted">test</span>_posix_fallocate failures on BSD platforms that
|
||
might be due to running on ZFS.
|
||
bpo-19417: Add <span class="highlighted">test</span>_bdb.py.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id835" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-29639: <span class="highlighted">test</span>.support.HOST is now “localhost”, a new HOSTv4 constant has
|
||
been added for your 127.0.0.1 needs, similar to the existing HOSTv6
|
||
constant.
|
||
bpo-31320: Silence traceback in <span class="highlighted">test</span>_ssl
|
||
bpo-31346: Prefer PROTOCOL_TLS_CLIENT...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id818" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-31380: Skip <span class="highlighted">test</span>_httpservers <span class="highlighted">test</span>_undecodable_file on macOS: fails on
|
||
APFS.
|
||
bpo-31705: Skip <span class="highlighted">test</span>_socket.<span class="highlighted">test</span>_sha256() on Linux kernel older than 4.5.
|
||
The <span class="highlighted">test</span> fails with ENOKEY on kernel 3.10 (on ppc64le). A fix was merged
|
||
into...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id811" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-32252: Fix faulthandler_suppress_crash_report() used to prevent core
|
||
dump files when <span class="highlighted">test</span>ing crashes. getrlimit() returns zero on success.
|
||
bpo-32002: Adjust C locale coercion <span class="highlighted">test</span>ing for the empty locale and POSIX
|
||
locale cases t...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id803" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-32721: Fix <span class="highlighted">test</span>_hashlib to not fail if the _md5 module is not built.
|
||
bpo-28414: Add <span class="highlighted">test</span> cases for IDNA 2003 and 2008 host names. IDNA 2003
|
||
internationalized host names are working since bpo-31399 has landed. IDNA
|
||
2008 are still...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id794" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-31809: Add <span class="highlighted">test</span>s to verify connection with secp ECDH curves.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id783" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-32872: Avoid regr<span class="highlighted">test</span> compatibility issue with namespace packages.
|
||
bpo-32517: Fix failing <span class="highlighted">test</span>_asyncio on macOS 10.12.2+ due to transport
|
||
of KqueueSelector loop was not being closed.
|
||
bpo-19417: Add <span class="highlighted">test</span>_bdb.py.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id773" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-33358: Fix <span class="highlighted">test</span>_embed.<span class="highlighted">test</span>_pre_initialization_sys_options() when
|
||
the interpreter is built with --enable-shared.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id766" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-33655: Ignore <span class="highlighted">test</span>_posix_fallocate failures on BSD platforms that
|
||
might be due to running on ZFS.
|
||
bpo-32604: Remove the _xxsubinterpreters module (meant for <span class="highlighted">test</span>ing) and
|
||
associated helpers. This module was originally added rece...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id748" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-35772: Fix sparse file <span class="highlighted">test</span>s of <span class="highlighted">test</span>_tarfile on ppc64 with the tmpfs
|
||
filesystem. Fix the function <span class="highlighted">test</span>ing if the filesystem supports sparse
|
||
files: create a file which contains data and “holes”, instead of creating
|
||
a file which c...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id741" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-27313: Avoid <span class="highlighted">test</span>_ttk_guionly Combobox<span class="highlighted">Test</span> failure with macOS Cocoa
|
||
Tk.
|
||
bpo-36019: Add <span class="highlighted">test</span>.support.<span class="highlighted">TEST</span>_HTTP_URL and replace references of
|
||
http://www.example.com by this new constant. Contributed by Stéphane
|
||
Wirtel.
|
||
bpo-36037:...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id732" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-36234: <span class="highlighted">test</span>_posix.PosixUidGid<span class="highlighted">Test</span>s: add <span class="highlighted">test</span>s for invalid uid/gid type
|
||
(str). Initial patch written by David Malcolm.
|
||
bpo-29571: Fix <span class="highlighted">test</span>_re.<span class="highlighted">test</span>_locale_flag(): use
|
||
locale.getpreferredencoding() rather than locale.getlocale() t...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id721" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-36719: regr<span class="highlighted">test</span> now always detects uncollectable objects. Previously,
|
||
the check was only enabled by --findleaks. The check now also works
|
||
with -jN/--multiprocess N. --findleaks becomes a deprecated alias
|
||
to --fail-env-changed.
|
||
b...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id710" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-37069: Modify <span class="highlighted">test</span>_coroutines, <span class="highlighted">test</span>_cprofile, <span class="highlighted">test</span>_generators,
|
||
<span class="highlighted">test</span>_raise, <span class="highlighted">test</span>_ssl and <span class="highlighted">test</span>_yield_from to use
|
||
<span class="highlighted">test</span>.support.catch_unraisable_exception() rather than
|
||
<span class="highlighted">test</span>.support.captured_stderr().
|
||
bpo-37098: Fix <span class="highlighted">test</span>_memfd_creat...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id699" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-38614: Fix <span class="highlighted">test</span>_communicate() of <span class="highlighted">test</span>_asyncio.<span class="highlighted">test</span>_subprocess: use
|
||
support.LONG_TIMEOUT (5 minutes), instead of just 1 minute.
|
||
bpo-38614: Add timeout constants to <span class="highlighted">test</span>.support:
|
||
LOOPBACK_TIMEOUT,
|
||
INTERNET_TIMEOUT,
|
||
SHORT_TIMEOUT a...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id689" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-38546: Fix <span class="highlighted">test</span>_ressources_gced_in_workers() of
|
||
<span class="highlighted">test</span>_concurrent_futures: explicitly stop the manager to prevent leaking a
|
||
child process running in the background after the <span class="highlighted">test</span> completes.
|
||
bpo-38546: Multiprocessing and concurren...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id674" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-38325: Skip <span class="highlighted">test</span>s on non-BMP characters of <span class="highlighted">test</span>_winconsoleio.
|
||
bpo-39502: Skip <span class="highlighted">test</span>_zipfile.<span class="highlighted">test</span>_add_file_after_2107() if
|
||
time.localtime() fails with OverflowError. It is the case on
|
||
AIX 6.1 for example.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id663" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-40019: <span class="highlighted">test</span>_gdb now skips <span class="highlighted">test</span>s if it detects that gdb failed to read
|
||
debug information because the Python binary is optimized.
|
||
bpo-27807: <span class="highlighted">test</span>_site.<span class="highlighted">test</span>_startup_imports() is now skipped if a path
|
||
of sys.path contains a .pth fil...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id652" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-31904: Set expected default encoding in <span class="highlighted">test</span>_c_locale_coercion.py for
|
||
VxWorks RTOS.
|
||
bpo-40162: Update Travis CI configuration to OpenSSL 1.1.1f.
|
||
bpo-40146: Update OpenSSL to 1.1.1f in Azure Pipelines.
|
||
bpo-40094: Add <span class="highlighted">test</span>.support...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id642" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-40055: distutils.<span class="highlighted">test</span>s now saves/restores warnings filters to leave
|
||
them unchanged. Importing <span class="highlighted">test</span>s imports docutils which imports
|
||
pkg_resources which adds a warnings filter.
|
||
bpo-40436: <span class="highlighted">test</span>_gdb and <span class="highlighted">test</span>.pythoninfo now check gdb...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id632" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-41939: Fix <span class="highlighted">test</span>_site.<span class="highlighted">test</span>_license_exists_at_url(): call
|
||
urllib.request.urlcleanup() to reset the global
|
||
urllib.request._opener. Patch by Victor Stinner.
|
||
bpo-41731: Make <span class="highlighted">test</span>_cmd_line_script pass with option ‘-vv’.
|
||
bpo-41602: Add...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id594" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-41739: Fix <span class="highlighted">test</span>_logging.<span class="highlighted">test</span>_race_between_set_target_and_flush(): the
|
||
<span class="highlighted">test</span> now waits until all threads complete to avoid leaking running
|
||
threads.
|
||
bpo-41970: Avoid a <span class="highlighted">test</span> failure in <span class="highlighted">test</span>_lib2to3 if the module has
|
||
already imported...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id581" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-41473: Re-enable <span class="highlighted">test</span>_gdb on gdb 9.2 and newer:
|
||
https://bugzilla.redhat.com/show_bug.cgi?id=1866884 bug is fixed in gdb
|
||
10.1.
|
||
bpo-42553: Fix <span class="highlighted">test</span>_asyncio.<span class="highlighted">test</span>_call_later() race condition: don’t
|
||
measure asyncio performance in the...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id566" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-42794: Update <span class="highlighted">test</span>_nntplib to use official group name of news.aioe.org
|
||
for <span class="highlighted">test</span>ing. Patch by Donghee Na.
|
||
bpo-31904: Skip some asyncio <span class="highlighted">test</span>s on VxWorks.
|
||
bpo-42641: Enhance <span class="highlighted">test</span>_select.<span class="highlighted">test</span>_select(): it now takes 500
|
||
milliseconds...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id553" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-40823: Use unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader().load<span class="highlighted">Test</span>sFrom<span class="highlighted">Test</span>Case() instead
|
||
of unit<span class="highlighted">test</span>.makeSuite() in sqlite3 <span class="highlighted">test</span>s. Patch by Erlend E.
|
||
Aasland.
|
||
bpo-40810: In sqlite3, fix CheckTraceCallbackContent for SQLite
|
||
pre 3.7.15.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id541" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-43288: Fix <span class="highlighted">test</span>_importlib to correctly skip Unicode file <span class="highlighted">test</span>s if the
|
||
filesystem does not support them.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id528" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-37945: Fix <span class="highlighted">test</span>_getsetlocale_issue1813() of <span class="highlighted">test</span>_locale: skip the <span class="highlighted">test</span>
|
||
if setlocale() fails. Patch by Victor Stinner.
|
||
bpo-41561: Add workaround for Ubuntu’s custom OpenSSL security level
|
||
policy.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id516" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-43961: Fix <span class="highlighted">test</span>_logging.<span class="highlighted">test</span>_namer_rotator_inheritance() on Windows:
|
||
use os.replace() rather than os.rename(). Patch by Victor
|
||
Stinner.
|
||
bpo-43842: Fix a race condition in the SMTP <span class="highlighted">test</span> of <span class="highlighted">test</span>_logging. Don’t
|
||
close a file descrip...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id501" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-40173: Fix <span class="highlighted">test</span>.support.import_helper.import_fresh_module().
|
||
bpo-45280: Add a <span class="highlighted">test</span> case for empty typing.NamedTuple.
|
||
bpo-45269: Cover case when invalid markers type is supplied to
|
||
c_make_encoder.
|
||
bpo-45128: Fix <span class="highlighted">test</span>_multiprocess...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id473" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-45678: Add <span class="highlighted">test</span>s for scenarios in which
|
||
functools.singledispatchmethod is stacked on top of a method that
|
||
has already been wrapped by two other decorators. Patch by Alex Waygood.
|
||
bpo-45578: Add <span class="highlighted">test</span>s for dis.distb()
|
||
bpo-45678: A...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id465" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-45695: Out-of-tree builds with a read-only source directory are now
|
||
<span class="highlighted">test</span>ed by CI.
|
||
bpo-19460: Add new <span class="highlighted">Test</span> for
|
||
Lib/email/mime/nonmultipart.py::MIMENonMultipart.
|
||
bpo-45835: Fix race condition in <span class="highlighted">test</span>_queue <span class="highlighted">test</span>s with multiple “fee...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id455" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-46296: Add a <span class="highlighted">test</span> case for enum with _use_args_ == True and
|
||
_member_type_ == object.
|
||
bpo-46205: Fix hang in run<span class="highlighted">test</span>_mp due to race condition
|
||
bpo-46263: Fix <span class="highlighted">test</span>_capi on FreeBSD 14-dev: instruct jemalloc to not fill
|
||
freed memory...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id440" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-43478: Mocks can no longer be provided as the specs for other Mocks.
|
||
As a result, an already-mocked object cannot be passed to mock.Mock().
|
||
This can uncover bugs in <span class="highlighted">test</span>s since these Mock-derived Mocks will always
|
||
pass certain t...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id427" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-46913: Fix <span class="highlighted">test</span>_faulthandler.<span class="highlighted">test</span>_sigfpe() if Python is built with
|
||
undefined behavior sanitizer (UBSAN): disable UBSAN on the
|
||
faulthandler_sigfpe() function. Patch by Victor Stinner.
|
||
bpo-46760: Remove bytecode offsets from expec...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id412" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
bpo-47205: Skip <span class="highlighted">test</span> for sched_getaffinity() and
|
||
sched_setaffinity() error case on FreeBSD.
|
||
bpo-46126: Restore ‘descriptions’ when running <span class="highlighted">test</span>s internally.
|
||
bpo-47104: Rewrite asyncio.to_thread() <span class="highlighted">test</span>s to use
|
||
unit<span class="highlighted">test</span>.IsolatedAsynci...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id399" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-92169: Use warnings_helper.import_deprecated() to import deprecated
|
||
modules uniformly in <span class="highlighted">test</span>s. Patch by Hugo van Kemenade.
|
||
gh-84461: When multiprocessing is enabled, libregr<span class="highlighted">test</span> can now use a
|
||
Python executable other than sys.exe...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id383" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-95027: On Windows, when the Python <span class="highlighted">test</span> suite is run with the -jN
|
||
option, the ANSI code page is now used as the encoding for the stdout
|
||
temporary file, rather than using UTF-8 which can lead to decoding errors.
|
||
Patch by Victor St...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id356" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-98903: The Python <span class="highlighted">test</span> suite now fails with exit code 4 if no <span class="highlighted">test</span>s
|
||
ran. It should help detecting typos in <span class="highlighted">test</span> names and <span class="highlighted">test</span> methods.
|
||
gh-98713: Fix a bug in the typing <span class="highlighted">test</span>s where a <span class="highlighted">test</span> relying on
|
||
CPython-specific implementati...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id344" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-99892: Skip <span class="highlighted">test</span>_normalization() of <span class="highlighted">test</span>_unicodedata if it fails to
|
||
download Normalization<span class="highlighted">Test</span>.txt file from python<span class="highlighted">test</span>.net. Patch by Victor
|
||
Stinner.
|
||
gh-99934: Correct <span class="highlighted">test</span>_marsh on (32 bit) x86: <span class="highlighted">test</span>_deterministic sets was
|
||
faili...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id332" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-100454: Start running SSL <span class="highlighted">test</span>s with OpenSSL 3.1.0-beta1.
|
||
gh-100086: The Python <span class="highlighted">test</span> runner (libregr<span class="highlighted">test</span>) now logs Python build
|
||
information like “debug” vs “release” build, or LTO and PGO optimizations.
|
||
Patch by Victor Stinner.
|
||
g...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id322" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-101334: <span class="highlighted">test</span>_tarfile has been updated to pass when run as a high
|
||
UID.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id312" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-102019: Fix deadlock on shutdown if <span class="highlighted">test</span>_current_{exception,frames}
|
||
fails. Patch by Jacob Bower.
|
||
gh-85984: Utilize new “winsize” functions from termios in pty <span class="highlighted">test</span>s.
|
||
gh-89792: <span class="highlighted">test</span>_tools now copies up to 10x less source data to a...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id303" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-102980: Improve <span class="highlighted">test</span> coverage on pdb.
|
||
gh-102537: Adjust the error handling strategy in
|
||
<span class="highlighted">test</span>_zoneinfo.TzPath<span class="highlighted">Test</span>.python_tzpath_context. Patch by Paul Ganssle.
|
||
gh-101377: Improved <span class="highlighted">test</span>_locale_calendar_formatweekday of calendar.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id289" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-104494: Update <span class="highlighted">test</span>_pack_configure_in and
|
||
<span class="highlighted">test</span>_place_configure_in for changes to error message formatting in Tk
|
||
8.7.
|
||
gh-104461: Run <span class="highlighted">test</span>_configure_screen on X11 only, since the DISPLAY
|
||
environment variable and -screen option for...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id275" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-110647: Fix <span class="highlighted">test</span>_stress_modifying_handlers() of <span class="highlighted">test</span>_signal. Patch by
|
||
Victor Stinner.
|
||
gh-103053: Fix <span class="highlighted">test</span>_tools.<span class="highlighted">test</span>_freeze on FreeBSD: run “make distclean”
|
||
instead of “make clean” in the copied source directory to remove also th...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id264" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-111808: Make the default value of <span class="highlighted">test</span>.support.infinite_recursion()
|
||
to be conditional based on whether optimizations were used when compiling
|
||
the interpreter. This helps with platforms like WASI whose stack size is
|
||
greatly restri...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id256" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-111798: Disable <span class="highlighted">test</span>_super_deep() from <span class="highlighted">test</span>_call under pydebug
|
||
builds on WASI; the stack depth is too small to make the <span class="highlighted">test</span> useful.
|
||
gh-111801: Lower the recursion limit in <span class="highlighted">test</span>_isinstance for
|
||
<span class="highlighted">test</span>_infinitely_many_bases(). This p...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id245" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-114099: Added <span class="highlighted">test</span> exclusions required to run the <span class="highlighted">test</span> suite on iOS.
|
||
gh-105089: Fix
|
||
<span class="highlighted">test</span>.<span class="highlighted">test</span>_zipfile.<span class="highlighted">test</span>_core.<span class="highlighted">Test</span>WithDirectory.<span class="highlighted">test</span>_create_directory_with_write
|
||
<span class="highlighted">test</span> in AIX by doing a bitwise AND of 0xFFFF on mode , so that it...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id234" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-71052: Add <span class="highlighted">test</span> exclusions to support running the <span class="highlighted">test</span> suite on
|
||
Android.
|
||
gh-71052: Enable <span class="highlighted">test</span>_concurrent_futures on platforms that support
|
||
threading but not multiprocessing.
|
||
gh-115796: Make ‘_<span class="highlighted">test</span>internalcapi.assemble_code_objec...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id222" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-83434: Disable JUnit XML output (--junit-xml=FILE command line
|
||
option) in regr<span class="highlighted">test</span> when hunting for reference leaks (-R option).
|
||
Patch by Victor Stinner.
|
||
gh-117187: Fix XML <span class="highlighted">test</span>s for vanilla Expat <2.6.0.
|
||
gh-116333: <span class="highlighted">Test</span>s of TLS...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id184" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-125041: Re-enable skipped <span class="highlighted">test</span>s for zlib on the s390x
|
||
architecture: only skip checks of the compressed bytes, which can be
|
||
different between zlib’s software implementation and the
|
||
hardware-accelerated implementation.
|
||
gh-124378: U...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id169" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-126909: Fix <span class="highlighted">test</span>_os extended attribute <span class="highlighted">test</span>s to work on filesystems
|
||
with 1 KiB xattr size limit.
|
||
gh-125730: Change make <span class="highlighted">test</span> to not run GUI <span class="highlighted">test</span>s by default. Use
|
||
make ci to run <span class="highlighted">test</span>s with GUI <span class="highlighted">test</span>s instead.
|
||
gh-124295: Add transla...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id158" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-127906: <span class="highlighted">Test</span> the limited C API in <span class="highlighted">test</span>_cppext. Patch by Victor Stinner.
|
||
gh-127637: Add <span class="highlighted">test</span>s for the dis command-line interface. Patch by
|
||
Bénédikt Tran.
|
||
gh-126925: iOS <span class="highlighted">test</span> results are now streamed during <span class="highlighted">test</span> execution, and
|
||
the...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id147" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-128690: Temporarily do not use <span class="highlighted">test</span>_embed in PGO profile builds until
|
||
the problem with <span class="highlighted">test</span>_init_pyvenv_cfg failing in some configurations is
|
||
resolved.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id132" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-129386: Add <span class="highlighted">test</span>.support.reset_code, which can be used to reset
|
||
various bytecode-level optimizations and local instrumentation for a
|
||
function.
|
||
gh-128474: Disable <span class="highlighted">test</span>_embed <span class="highlighted">test</span> cases that segfault on BOLT
|
||
instrument binaries. Th...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id119" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-129200: Multiple iOS <span class="highlighted">test</span>bed runners can now be started at the same
|
||
time without introducing an ambiguity over simulator ownership.
|
||
gh-130292: The iOS <span class="highlighted">test</span>bed will now run successfully on a machine that has
|
||
not previously run Xco...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id107" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-131277: Allow to unset one or more environment variables at once via
|
||
EnvironmentVarGuard.unset(). Patch by Bénédikt
|
||
Tran.
|
||
gh-131050: <span class="highlighted">test</span>_ssl.<span class="highlighted">test</span>_dh_params is skipped if the underlying TLS
|
||
library does not support finite-field e...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id91" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-133131: The iOS <span class="highlighted">test</span>bed will now select the most recently released
|
||
“SE-class” device for <span class="highlighted">test</span>ing if a device isn’t explicitly specified.
|
||
gh-91048: Add ability to externally inspect all pending asyncio tasks,
|
||
even if no task is cu...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id83" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-133744: Fix multiprocessing interrupt <span class="highlighted">test</span>. Add an event to synchronize
|
||
the parent process with the child process: wait until the child process
|
||
starts sleeping. Patch by Victor Stinner.
|
||
gh-133682: Fixed <span class="highlighted">test</span> case
|
||
<span class="highlighted">test</span>.<span class="highlighted">test</span>_annota...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id68" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-132815: Fix <span class="highlighted">test</span>__opcode: add JUMP_BACKWARD to specialization
|
||
stats.
|
||
gh-135489: Show verbose output for failing <span class="highlighted">test</span>s during PGO profiling step
|
||
with –enable-optimizations.
|
||
gh-135120: Add <span class="highlighted">test</span>.support.sub<span class="highlighted">Test</span>s().</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id60" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-135966: The iOS <span class="highlighted">test</span>bed now handles the app_packages folder as a
|
||
site directory.
|
||
gh-135494: Fix regr<span class="highlighted">test</span> to support excluding <span class="highlighted">test</span>s from --pgo <span class="highlighted">test</span>s.
|
||
Patch by Victor Stinner.</p></li><li class="kind-title"><a href="whatsnew/changelog.html#id12" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-140482: Preserve and restore the state of stty echo as part of the
|
||
<span class="highlighted">test</span> environment.
|
||
gh-140082: Update python -m <span class="highlighted">test</span> to set FORCE_COLOR=1 when being
|
||
run with color enabled so that unit<span class="highlighted">test</span> which is run by it with
|
||
redirected outp...</p></li><li class="kind-title"><a href="whatsnew/changelog.html#tests" data-score="12">Changelog > <span class="highlighted">Test</span>s</a><p class="context"><span class="highlighted">Test</span>s
|
||
|
||
gh-144415: The Android <span class="highlighted">test</span>bed now distinguishes between stdout/stderr
|
||
messages which were triggered by a newline, and those triggered by a
|
||
manual call to flush. This fixes logging of progress indicators and
|
||
similar content.
|
||
gh-1434...</p></li><li class="kind-object"><a href="using/configure.html#cmdoption-disable-test-modules" data-score="11">--disable-<span class="highlighted">test</span>-modules</a><span> (program option, in <span class="section-number">3. </span>Configure Python)</span></li><li class="kind-object"><a href="library/ast.html#ast.TemplateStr" data-score="11">ast.Templa<span class="highlighted">teSt</span>r</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">ast</span></code> — Abstract syntax trees)</span></li><li class="kind-object"><a href="library/collections.abc.html#collections.abc.ByteString" data-score="11">collections.abc.By<span class="highlighted">teSt</span>ring</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">collections.abc</span></code> — Abstract Base Classes for Containers)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTest" data-score="11">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span></a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestFailure" data-score="11">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Failure</a><span> (Python exception, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestFinder" data-score="11">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Finder</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestParser" data-score="11">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Parser</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestParser.get_doctest" data-score="11">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Parser.get_doc<span class="highlighted">test</span></a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestRunner" data-score="11">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Runner</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestSuite" data-score="11">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Suite</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.set_unittest_reportflags" data-score="11">doc<span class="highlighted">test</span>.set_unit<span class="highlighted">test</span>_reportflags</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.testfile" data-score="11">doc<span class="highlighted">test</span>.<span class="highlighted">test</span>file</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.testmod" data-score="11">doc<span class="highlighted">test</span>.<span class="highlighted">test</span>mod</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.TestResults" data-score="11">doc<span class="highlighted">test</span>.<span class="highlighted">Test</span>Results</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.testsource" data-score="11">doc<span class="highlighted">test</span>.<span class="highlighted">test</span>source</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#module.__test__" data-score="11">module.__<span class="highlighted">test</span>__</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/os.html#os.F_TEST" data-score="11">os.F_<span class="highlighted">TEST</span></a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">os</span></code> — Miscellaneous operating system interfaces)</span></li><li class="kind-object"><a href="c-api/file.html#c.PyFile_WriteString" data-score="11">PyFile_Wri<span class="highlighted">teSt</span>ring</a><span> (C function, in File Objects)</span></li><li class="kind-object"><a href="c-api/sys.html#c.PySys_WriteStderr" data-score="11">PySys_Wri<span class="highlighted">teSt</span>derr</a><span> (C function, in Operating System Utilities)</span></li><li class="kind-object"><a href="c-api/sys.html#c.PySys_WriteStdout" data-score="11">PySys_Wri<span class="highlighted">teSt</span>dout</a><span> (C function, in Operating System Utilities)</span></li><li class="kind-object"><a href="c-api/unicode.html#c.PyUnicodeWriter_WriteStr" data-score="11">PyUnicodeWriter_Wri<span class="highlighted">teSt</span>r</a><span> (C function, in Unicode Objects and Codecs)</span></li><li class="kind-object"><a href="library/tarfile.html#cmdoption-tarfile-test" data-score="11">tarfile.--<span class="highlighted">test</span></a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">tarfile</span></code> — Read and write tar archive files)</span></li><li class="kind-object"><a href="library/test.html#test.support.bigaddrspacetest" data-score="11"><span class="highlighted">test</span>.support.bigaddrspace<span class="highlighted">test</span></a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.bigmemtest" data-score="11"><span class="highlighted">test</span>.support.bigmem<span class="highlighted">test</span></a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.bytecode_helper.BytecodeTestCase" data-score="11"><span class="highlighted">test</span>.support.bytecode_helper.Bytecode<span class="highlighted">Test</span>Case</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.load_package_tests" data-score="11"><span class="highlighted">test</span>.support.load_package_<span class="highlighted">test</span>s</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.TESTFN" data-score="11"><span class="highlighted">test</span>.support.os_helper.<span class="highlighted">TEST</span>FN</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.TESTFN_NONASCII" data-score="11"><span class="highlighted">test</span>.support.os_helper.<span class="highlighted">TEST</span>FN_NONASCII</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.TESTFN_UNDECODABLE" data-score="11"><span class="highlighted">test</span>.support.os_helper.<span class="highlighted">TEST</span>FN_UNDECODABLE</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.TESTFN_UNENCODABLE" data-score="11"><span class="highlighted">test</span>.support.os_helper.<span class="highlighted">TEST</span>FN_UNENCODABLE</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.TESTFN_UNICODE" data-score="11"><span class="highlighted">test</span>.support.os_helper.<span class="highlighted">TEST</span>FN_UNICODE</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.refcount_test" data-score="11"><span class="highlighted">test</span>.support.refcount_<span class="highlighted">test</span></a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.TEST_DATA_DIR" data-score="11"><span class="highlighted">test</span>.support.<span class="highlighted">TEST</span>_DATA_DIR</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.TEST_HOME_DIR" data-score="11"><span class="highlighted">test</span>.support.<span class="highlighted">TEST</span>_HOME_DIR</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.TEST_HTTP_URL" data-score="11"><span class="highlighted">test</span>.support.<span class="highlighted">TEST</span>_HTTP_URL</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.TEST_SUPPORT_DIR" data-score="11"><span class="highlighted">test</span>.support.<span class="highlighted">TEST</span>_SUPPORT_DIR</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.TestFailed" data-score="11"><span class="highlighted">test</span>.support.<span class="highlighted">Test</span>Failed</a><span> (Python exception, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/typing.html#typing.ByteString" data-score="11">typing.By<span class="highlighted">teSt</span>ring</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">typing</span></code> — Support for type hints)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.defaultTestLoader" data-score="11">unit<span class="highlighted">test</span>.default<span class="highlighted">Test</span>Loader</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.FunctionTestCase" data-score="11">unit<span class="highlighted">test</span>.Function<span class="highlighted">Test</span>Case</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.IsolatedAsyncioTestCase" data-score="11">unit<span class="highlighted">test</span>.IsolatedAsyncio<span class="highlighted">Test</span>Case</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.SkipTest" data-score="11">unit<span class="highlighted">test</span>.Skip<span class="highlighted">Test</span></a><span> (Python exception, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.countTestCases" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.count<span class="highlighted">Test</span>Cases</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.defaultTestResult" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.default<span class="highlighted">Test</span>Result</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.skipTest" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.skip<span class="highlighted">Test</span></a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.subTest" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.sub<span class="highlighted">Test</span></a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.getTestCaseNames" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.get<span class="highlighted">Test</span>CaseNames</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.loadTestsFromModule" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.load<span class="highlighted">Test</span>sFromModule</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.loadTestsFromName" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.load<span class="highlighted">Test</span>sFromName</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.loadTestsFromNames" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.load<span class="highlighted">Test</span>sFromNames</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.loadTestsFromTestCase" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.load<span class="highlighted">Test</span>sFrom<span class="highlighted">Test</span>Case</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.sortTestMethodsUsing" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.sort<span class="highlighted">Test</span>MethodsUsing</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.testMethodPrefix" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.<span class="highlighted">test</span>MethodPrefix</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.testNamePatterns" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.<span class="highlighted">test</span>NamePatterns</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.addSubTest" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.addSub<span class="highlighted">Test</span></a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.startTest" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.start<span class="highlighted">Test</span></a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.startTestRun" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.start<span class="highlighted">Test</span>Run</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.stopTest" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.stop<span class="highlighted">Test</span></a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.stopTestRun" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.stop<span class="highlighted">Test</span>Run</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.testsRun" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.<span class="highlighted">test</span>sRun</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestSuite" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Suite</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestSuite.addTest" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Suite.add<span class="highlighted">Test</span></a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestSuite.addTests" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Suite.add<span class="highlighted">Test</span>s</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestSuite.countTestCases" data-score="11">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Suite.count<span class="highlighted">Test</span>Cases</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TextTestResult" data-score="11">unit<span class="highlighted">test</span>.Text<span class="highlighted">Test</span>Result</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TextTestRunner" data-score="11">unit<span class="highlighted">test</span>.Text<span class="highlighted">Test</span>Runner</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/wsgiref.html#wsgiref.util.setup_testing_defaults" data-score="11">wsgiref.util.setup_<span class="highlighted">test</span>ing_defaults</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">wsgiref</span></code> — WSGI Utilities and Reference Implementation)</span></li><li class="kind-object"><a href="library/xml.sax.reader.html#xml.sax.xmlreader.InputSource.getByteStream" data-score="11">xml.sax.xmlreader.InputSource.getBy<span class="highlighted">teSt</span>ream</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">xml.sax.xmlreader</span></code> — Interface for XML parsers)</span></li><li class="kind-object"><a href="library/xml.sax.reader.html#xml.sax.xmlreader.InputSource.setByteStream" data-score="11">xml.sax.xmlreader.InputSource.setBy<span class="highlighted">teSt</span>ream</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">xml.sax.xmlreader</span></code> — Interface for XML parsers)</span></li><li class="kind-object"><a href="library/zipfile.html#cmdoption-zipfile-test" data-score="11">zipfile.--<span class="highlighted">test</span></a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">zipfile</span></code> — Work with ZIP archives)</span></li><li class="kind-object"><a href="library/zipfile.html#zipfile.ZipFile.testzip" data-score="11">zipfile.ZipFile.<span class="highlighted">test</span>zip</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">zipfile</span></code> — Work with ZIP archives)</span></li><li class="kind-object"><a href="library/zipfile.html#zipfile.ZipFile.writestr" data-score="11">zipfile.ZipFile.wri<span class="highlighted">test</span>r</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">zipfile</span></code> — Work with ZIP archives)</span></li><li class="kind-title"><a href="whatsnew/2.4.html#doctest" data-score="9">What’s New in Python 2.4 > doc<span class="highlighted">test</span></a><p class="context">doc<span class="highlighted">test</span>
|
||
The doc<span class="highlighted">test</span> module underwent considerable refactoring thanks to Edward
|
||
Loper and Tim Peters. <span class="highlighted">Test</span>ing can still be as simple as running
|
||
doc<span class="highlighted">test</span>.<span class="highlighted">test</span>mod(), but the refactorings allow customizing the module’s
|
||
operation in various way...</p></li><li class="kind-title"><a href="whatsnew/3.10.html#doctest" data-score="9">What’s New In Python 3.10 > doc<span class="highlighted">test</span></a><p class="context">doc<span class="highlighted">test</span>
|
||
When a module does not define __loader__, fall back to __spec__.loader.
|
||
(Contributed by Brett Cannon in bpo-42133.)</p></li><li class="kind-title"><a href="whatsnew/3.13.html#doctest" data-score="9">What’s New In Python 3.13 > doc<span class="highlighted">test</span></a><p class="context">doc<span class="highlighted">test</span>
|
||
|
||
doc<span class="highlighted">test</span> output is now colored by default.
|
||
This can be controlled via the new PYTHON_COLORS environment
|
||
variable as well as the canonical NO_COLOR
|
||
and FORCE_COLOR environment variables.
|
||
See also Controlling color.
|
||
(Contributed by H...</p></li><li class="kind-title"><a href="whatsnew/3.4.html#doctest" data-score="9">What’s New In Python 3.4 > doc<span class="highlighted">test</span></a><p class="context">doc<span class="highlighted">test</span>
|
||
A new option flag, FAIL_FAST, halts
|
||
<span class="highlighted">test</span> running as soon as the first failure is detected. (Contributed by R.
|
||
David Murray and Daniel Urban in bpo-16522.)
|
||
The doc<span class="highlighted">test</span> command line interface now uses argparse, and has two
|
||
new optio...</p></li><li class="kind-title"><a href="whatsnew/3.5.html#doctest" data-score="9">What’s New In Python 3.5 > doc<span class="highlighted">test</span></a><p class="context">doc<span class="highlighted">test</span>
|
||
The Doc<span class="highlighted">Test</span>Suite() function returns an empty
|
||
unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Suite if module contains no docstrings, instead of
|
||
raising ValueError. (Contributed by Glenn Jones in bpo-15916.)</p></li><li class="kind-title"><a href="whatsnew/3.10.html#unittest" data-score="8">What’s New In Python 3.10 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
Add new method assertNoLogs() to complement the
|
||
existing assertLogs(). (Contributed by Kit Yan Choi
|
||
in bpo-39385.)</p></li><li class="kind-title"><a href="whatsnew/3.11.html#unittest" data-score="8">What’s New In Python 3.11 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
|
||
Added methods enterContext() and
|
||
enterClassContext() of class
|
||
<span class="highlighted">Test</span>Case, method
|
||
enterAsyncContext() of
|
||
class IsolatedAsyncio<span class="highlighted">Test</span>Case and function
|
||
unit<span class="highlighted">test</span>.enterModuleContext().
|
||
(Contributed by Serhiy Storchaka in bpo-45046.)</p></li><li class="kind-title"><a href="whatsnew/3.12.html#id3" data-score="8">What’s New In Python 3.12 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
|
||
Remove many long-deprecated unit<span class="highlighted">test</span> features:
|
||
|
||
A number of <span class="highlighted">Test</span>Case method aliases:
|
||
|
||
|
||
Deprecated alias
|
||
Method Name
|
||
Deprecated in
|
||
|
||
|
||
|
||
failUnless
|
||
assertTrue()
|
||
3.1
|
||
|
||
failIf
|
||
assertFalse()
|
||
3.1
|
||
|
||
failUnlessEqual
|
||
assertEqual()
|
||
3.1
|
||
|
||
failIf...</p></li><li class="kind-title"><a href="whatsnew/3.12.html#unittest" data-score="8">What’s New In Python 3.12 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
Add a --durations command line option, showing the N slowest <span class="highlighted">test</span> cases:
|
||
python3 -m unit<span class="highlighted">test</span> --durations=3 lib.<span class="highlighted">test</span>s.<span class="highlighted">test</span>_threading
|
||
.....
|
||
Slowest <span class="highlighted">test</span> durations
|
||
---------------------------------------------------------------------...</p></li><li class="kind-title"><a href="whatsnew/3.13.html#unittest" data-score="8">What’s New In Python 3.13 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
|
||
Remove the following unit<span class="highlighted">test</span> functions, deprecated in Python 3.11:
|
||
|
||
unit<span class="highlighted">test</span>.find<span class="highlighted">Test</span>Cases()
|
||
unit<span class="highlighted">test</span>.makeSuite()
|
||
unit<span class="highlighted">test</span>.get<span class="highlighted">Test</span>CaseNames()
|
||
|
||
Use <span class="highlighted">Test</span>Loader methods instead:
|
||
|
||
load<span class="highlighted">Test</span>sFromModule()
|
||
load<span class="highlighted">Test</span>sFrom<span class="highlighted">Test</span>Case()
|
||
getTes...</p></li><li class="kind-title"><a href="whatsnew/3.14.html#unittest" data-score="8">What’s new in Python 3.14 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
|
||
unit<span class="highlighted">test</span> output is now colored by default.
|
||
This can be controlled by environment variables.
|
||
(Contributed by Hugo van Kemenade in gh-127221.)
|
||
unit<span class="highlighted">test</span> discovery supports namespace package as start
|
||
directory again. It was removed i...</p></li><li class="kind-title"><a href="whatsnew/3.2.html#unittest" data-score="8">What’s New In Python 3.2 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
The unit<span class="highlighted">test</span> module has a number of improvements supporting <span class="highlighted">test</span> discovery for
|
||
packages, easier experimentation at the interactive prompt, new <span class="highlighted">test</span>case
|
||
methods, improved diagnostic messages for <span class="highlighted">test</span> failures, and better method
|
||
nam...</p></li><li class="kind-title"><a href="whatsnew/3.3.html#unittest" data-score="8">What’s New In Python 3.3 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
assertRaises(), assertRaisesRegex(), assertWarns(), and
|
||
assertWarnsRegex() now accept a keyword argument msg when used as
|
||
context managers. (Contributed by Ezio Melotti and Winston Ewert in
|
||
bpo-10775.)
|
||
unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.run() now...</p></li><li class="kind-title"><a href="whatsnew/3.4.html#unittest" data-score="8">What’s New In Python 3.4 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
The <span class="highlighted">Test</span>Case class has a new method,
|
||
sub<span class="highlighted">Test</span>(), that produces a context manager whose
|
||
with block becomes a “sub-<span class="highlighted">test</span>”. This context manager allows a <span class="highlighted">test</span>
|
||
method to dynamically generate sub<span class="highlighted">test</span>s by, say, calling the sub<span class="highlighted">Test</span>
|
||
conte...</p></li><li class="kind-title"><a href="whatsnew/3.5.html#unittest" data-score="8">What’s New In Python 3.5 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
The <span class="highlighted">Test</span>Loader.load<span class="highlighted">Test</span>sFromModule()
|
||
method now accepts a keyword-only argument pattern which is passed to
|
||
load_<span class="highlighted">test</span>s as the third argument. Found packages are now checked for
|
||
load_<span class="highlighted">test</span>s regardless of whether their path matches p...</p></li><li class="kind-title"><a href="whatsnew/3.7.html#unittest" data-score="8">What’s New In Python 3.7 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
The new -k command-line option allows filtering <span class="highlighted">test</span>s by a name
|
||
substring or a Unix shell-like pattern.
|
||
For example, python -m unit<span class="highlighted">test</span> -k foo runs
|
||
foo_<span class="highlighted">test</span>s.Some<span class="highlighted">Test</span>.<span class="highlighted">test</span>_something, bar_<span class="highlighted">test</span>s.Some<span class="highlighted">Test</span>.<span class="highlighted">test</span>_foo,
|
||
but not bar_<span class="highlighted">test</span>s....</p></li><li class="kind-title"><a href="whatsnew/3.8.html#unittest" data-score="8">What’s New In Python 3.8 > unit<span class="highlighted">test</span></a><p class="context">unit<span class="highlighted">test</span>
|
||
Added AsyncMock to support an asynchronous version of
|
||
Mock. Appropriate new assert functions for <span class="highlighted">test</span>ing
|
||
have been added as well.
|
||
(Contributed by Lisa Roach in bpo-26467).
|
||
Added addModuleCleanup() and
|
||
addClassCleanup() to unittes...</p></li><li class="kind-text"><a href="library/__main__.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">__main__</span></code> — Top-level code environment</a><p class="context">...or fetching data from standard input. If a module
|
||
like this was imported from a different module, for example to unit <span class="highlighted">test</span>
|
||
it, the script code would unintentionally execute as well.
|
||
This is where using the if __name__ == '__main__' code b...</p></li><li class="kind-text"><a href="library/abc.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">abc</span></code> — Abstract Base Classes</a><p class="context">...these can, of course, be further derived. In addition, the
|
||
collections.abc submodule has some ABCs that can be used to <span class="highlighted">test</span> whether
|
||
a class or instance provides a particular interface, for example, if it is
|
||
hashable or if it is a mapping....</p></li><li class="kind-text"><a href="library/argparse.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">argparse</span></code> — Parser for command-line options, arguments and subcommands</a><p class="context">...+',
|
||
... help='an integer for the accumulator')
|
||
>>> parser.parse_args(['--action', 'sumn', 1, 2, 3])
|
||
<span class="highlighted">test</span>er.py: error: argument --action: invalid choice: 'sumn', maybe you meant 'sum'? (choose from 'sum', 'max')
|
||
|
||
|
||
If you’...</p></li><li class="kind-text"><a href="library/ast.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">ast</span></code> — Abstract syntax trees</a><p class="context">...nt)
|
||
| AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)
|
||
| While(expr <span class="highlighted">test</span>, stmt* body, stmt* orelse)
|
||
| If(expr <span class="highlighted">test</span>, stmt* body, stmt* orelse)
|
||
| With(withitem* items, st...</p></li><li class="kind-text"><a href="library/cmath.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">cmath</span></code> — Mathematical functions for complex numbers</a><p class="context">...NaN. inf and -inf are only
|
||
considered close to themselves.
|
||
|
||
Added in version 3.5.
|
||
|
||
|
||
See also
|
||
PEP 485 – A function for <span class="highlighted">test</span>ing approximate equality
|
||
|
||
|
||
|
||
|
||
|
||
Constants
|
||
|
||
|
||
cmath.pi
|
||
The mathematical constant π, as a float.
|
||
|
||
|
||
|
||
|
||
cmath.e
|
||
The mathemat...</p></li><li class="kind-text"><a href="library/cmd.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">cmd</span></code> — Support for line-oriented command interpreters</a><p class="context">...The Cmd class provides a simple framework for writing line-oriented
|
||
command interpreters. These are often useful for <span class="highlighted">test</span> harnesses, administrative
|
||
tools, and prototypes that will later be wrapped in a more sophisticated
|
||
interface.
|
||
|
||
|
||
cla...</p></li><li class="kind-text"><a href="library/codecs.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">codecs</span></code> — Codec registry and base classes</a><p class="context">...es are not
|
||
escaped in any way.
|
||
It is used in the Python
|
||
pickle protocol.
|
||
|
||
undefined
|
||
|
||
This Codec should only
|
||
be used for <span class="highlighted">test</span>ing
|
||
purposes.
|
||
Raise an exception for
|
||
all conversions, even
|
||
empty strings. The error
|
||
handler is ignored.
|
||
|
||
|
||
unicode_es...</p></li><li class="kind-text"><a href="library/collections.abc.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">collections.abc</span></code> — Abstract Base Classes for Containers</a><p class="context">...llections module.
|
||
|
||
Source code: Lib/_collections_abc.py
|
||
|
||
This module provides abstract base classes that
|
||
can be used to <span class="highlighted">test</span> whether a class provides a particular interface; for
|
||
example, whether it is hashable or whether it is a mapping.
|
||
An...</p></li><li class="kind-text"><a href="library/collections.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">collections</span></code> — Container datatypes</a><p class="context">...support rich comparison operators for equality, subset, and
|
||
superset relationships: ==, !=, <, <=, >, >=.
|
||
All of those <span class="highlighted">test</span>s treat missing elements as having zero counts so that
|
||
Counter(a=1) == Counter(a=1, b=0) returns true.
|
||
|
||
Changed in v...</p></li><li class="kind-text"><a href="library/concurrent.futures.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">concurrent.futures</span></code> — Launching parallel tasks</a><p class="context">...ecution of a callable. Future
|
||
instances are created by Executor.submit() and should not be created
|
||
directly except for <span class="highlighted">test</span>ing.
|
||
|
||
|
||
cancel()
|
||
Attempt to cancel the call. If the call is currently being executed or
|
||
finished running and cannot...</p></li><li class="kind-text"><a href="library/contextvars.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">contextvars</span></code> — Context Variables</a><p class="context">...handle_request, '127.0.0.1', 8081)
|
||
|
||
async with srv:
|
||
await srv.serve_forever()
|
||
|
||
asyncio.run(main())
|
||
|
||
# To <span class="highlighted">test</span> it you can use telnet or curl:
|
||
# telnet 127.0.0.1 8081
|
||
# curl 127.0.0.1:8081</p></li><li class="kind-text"><a href="library/ctypes.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">ctypes</span></code> — A foreign function library for Python</a><p class="context">...the distributor, see Requirements for optional modules.
|
||
|
||
ctypes tutorial
|
||
Note: The code samples in this tutorial use doc<span class="highlighted">test</span> to make sure that
|
||
they actually work. Since some code samples behave differently under Linux,
|
||
Windows, or macOS, t...</p></li><li class="kind-text"><a href="library/curses.ascii.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">curses.ascii</span></code> — Utilities for ASCII characters</a><p class="context">...Source code: Lib/curses/ascii.py
|
||
|
||
The curses.ascii module supplies name constants for ASCII characters and
|
||
functions to <span class="highlighted">test</span> membership in various ASCII character classes. The constants
|
||
supplied are names for control characters as follows:...</p></li><li class="kind-text"><a href="library/curses.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">curses</span></code> — Terminal handling for character-cell displays</a><p class="context">...[, attr])
|
||
Add character ch with attribute attr, and immediately call refresh()
|
||
on the window.
|
||
|
||
|
||
|
||
|
||
window.enclose(y, x)
|
||
<span class="highlighted">Test</span> whether the given pair of screen-relative character-cell coordinates are
|
||
enclosed by the given window, returning Tr...</p></li><li class="kind-text"><a href="library/dataclasses.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">dataclasses</span></code> — Data Classes</a><p class="context">...=False but compare=True
|
||
would be if a field is expensive to compute a hash value for,
|
||
that field is needed for equality <span class="highlighted">test</span>ing, and there are other
|
||
fields that contribute to the type’s hash value. Even if a field
|
||
is excluded from the hash...</p></li><li class="kind-text"><a href="library/decimal.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">decimal</span></code> — Decimal fixed-point and floating-point arithmetic</a><p class="context">...y floating point, the result
|
||
is 5.5511151231257827e-017. While near to zero, the differences
|
||
prevent reliable equality <span class="highlighted">test</span>ing and differences can accumulate. For this
|
||
reason, decimal is preferred in accounting applications which have stri...</p></li><li class="kind-text"><a href="library/dis.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">dis</span></code> — Disassembler for Python bytecode</a><p class="context">...stack.
|
||
Used in exception handlers.
|
||
|
||
Added in version 3.11.
|
||
|
||
|
||
|
||
|
||
|
||
CHECK_EXC_MATCH
|
||
Performs exception matching for except. <span class="highlighted">Test</span>s whether the STACK[-2]
|
||
is an exception matching STACK[-1]. Pops STACK[-1] and pushes the boolean
|
||
result of the <span class="highlighted">test</span>...</p></li><li class="kind-text"><a href="library/email.examples.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">email</span></code>: Examples</a><p class="context">...lt).parsestr(
|
||
'From: Foo Bar <user@example.com>\n'
|
||
'To: <someone_else@example.com>\n'
|
||
'Subject: <span class="highlighted">Test</span> message\n'
|
||
'\n'
|
||
'Body would go here\n')
|
||
|
||
# Now the header items can be accessed as a dictionary:
|
||
p...</p></li><li class="kind-text"><a href="library/fnmatch.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">fnmatch</span></code> — Unix filename pattern matching</a><p class="context">...ex patterns in the following
|
||
functions: fnmatch(), fnmatchcase(), filter(), filterfalse().
|
||
|
||
|
||
fnmatch.fnmatch(name, pat)
|
||
<span class="highlighted">Test</span> whether the filename string name matches the pattern string pat,
|
||
returning True or False. Both parameters are case...</p></li><li class="kind-text"><a href="library/functools.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">functools</span></code> — Higher-order functions and operations on callable objects</a><p class="context">...e race condition in
|
||
multi-threaded usage. The getter function could run more than once on the
|
||
same instance, with the la<span class="highlighted">test</span> run setting the cached value. If the cached
|
||
property is idempotent or otherwise not harmful to run more than once o...</p></li><li class="kind-text"><a href="library/getopt.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">getopt</span></code> — C-style parser for command line options</a><p class="context">...-c', 'foo'), ('-d', 'bar')]
|
||
>>> args
|
||
['a1', 'a2']
|
||
|
||
|
||
Using long option names is equally easy:
|
||
>>> s = '--condition=foo --<span class="highlighted">test</span>ing --output-file abc.def -x a1 a2'
|
||
>>> args = s.split()
|
||
>>> args
|
||
['--condition=foo', '--<span class="highlighted">test</span>ing', '--output-file',...</p></li><li class="kind-text"><a href="library/heapq.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">heapq</span></code> — Heap queue algorithm</a><p class="context">..., 'write code'))
|
||
>>> heappush(h, (7, 'release product'))
|
||
>>> heappush(h, (1, 'write spec'))
|
||
>>> heappush(h, (3, 'create <span class="highlighted">test</span>s'))
|
||
>>> heappop(h)
|
||
(1, 'write spec')
|
||
|
||
|
||
|
||
|
||
Other Applications
|
||
Medians are a measure of
|
||
central tendency for a set of...</p></li><li class="kind-text"><a href="library/html.parser.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">html.parser</span></code> — Simple HTML and XHTML parser</a><p class="context">...a(self, data):
|
||
print("Encountered some data :", data)
|
||
|
||
parser = MyHTMLParser()
|
||
parser.feed('<html><head><title><span class="highlighted">Test</span></title></head>'
|
||
'<body><h1>Parse me!</h1></body></html>')
|
||
|
||
|
||
The output will then be:
|
||
Encountered a star...</p></li><li class="kind-text"><a href="library/http.server.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">http.server</span></code> — HTTP servers</a><p class="context">...the end of the headers, and then the
|
||
contents of the file are output.
|
||
For example usage, see the implementation of the <span class="highlighted">test</span> function
|
||
in Lib/http/server.py.
|
||
|
||
Changed in version 3.7: Support of the 'If-Modified-Since' header.
|
||
|
||
|
||
|
||
|
||
|
||
The Simple...</p></li><li class="kind-text"><a href="library/imaplib.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">imaplib</span></code> — IMAP4 protocol client</a><p class="context">...by passing command to
|
||
subprocess.Popen().
|
||
|
||
|
||
The following utility functions are defined:
|
||
|
||
|
||
imaplib.Internaldate2tuple(da<span class="highlighted">test</span>r)
|
||
Parse an IMAP4 INTERNALDATE string and return corresponding local
|
||
time. The return value is a time.struct_time t...</p></li><li class="kind-text"><a href="library/importlib.metadata.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">importlib.metadata</span></code> – Accessing package metadata</a><p class="context">...To get the full set of requirements for a Distribution Package,
|
||
use the requires()
|
||
function:
|
||
>>> requires('wheel')
|
||
["py<span class="highlighted">test</span> (>=3.0.0) ; extra == '<span class="highlighted">test</span>'", "py<span class="highlighted">test</span>-cov ; extra == '<span class="highlighted">test</span>'"]
|
||
|
||
|
||
|
||
|
||
Mapping import to distribution packages
|
||
|
||
|
||
importl...</p></li><li class="kind-text"><a href="library/importlib.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">importlib</span></code> — The implementation of <code class="xref std std-keyword docutils literal notranslate"><span class="pre">import</span></code></a><p class="context">...can be used to the module’s advantage if it
|
||
maintains a global table or cache of objects — with a try
|
||
statement it can <span class="highlighted">test</span> for the table’s presence and skip its initialization if
|
||
desired:
|
||
try:
|
||
cache
|
||
except NameError:
|
||
cache = {}...</p></li><li class="kind-text"><a href="library/inspect.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">inspect</span></code> — Inspect live objects</a><p class="context">...routinefunction().
|
||
When possible, using an async def function is preferred. Also
|
||
acceptable is calling the function and <span class="highlighted">test</span>ing the return with
|
||
iscoroutine().
|
||
|
||
Added in version 3.12.
|
||
|
||
|
||
|
||
|
||
|
||
inspect.iscoroutine(object)
|
||
Return True if the objec...</p></li><li class="kind-text"><a href="library/ipaddress.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">ipaddress</span></code> — IPv4/IPv6 manipulation library</a><p class="context">...served for site-local usage. Note that
|
||
the site-local address space has been deprecated by RFC 3879. Use
|
||
is_private to <span class="highlighted">test</span> if this address is in the
|
||
space of unique local addresses as defined by RFC 4193.
|
||
|
||
|
||
|
||
|
||
ipv4_mapped
|
||
For addresses tha...</p></li><li class="kind-text"><a href="library/itertools.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">itertools</span></code> — Functions creating iterators for efficient looping</a><p class="context">...)
|
||
elem [,n]
|
||
elem, elem, elem, … endlessly or up to n times
|
||
repeat(10, 3) → 10 10 10
|
||
|
||
|
||
|
||
Iterators terminating on the shor<span class="highlighted">test</span> input sequence:
|
||
|
||
|
||
Iterator
|
||
Arguments
|
||
Results
|
||
Example
|
||
|
||
|
||
|
||
accumulate()
|
||
p [,func]
|
||
p0, p0+p1, p0+p1+p2, …
|
||
accumulate([1...</p></li><li class="kind-text"><a href="library/json.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">json</span></code> — JSON encoder and decoder</a><p class="context">...ort_keys is true (default: False), then the output of dictionaries
|
||
will be sorted by key; this is useful for regression <span class="highlighted">test</span>s to ensure that
|
||
JSON serializations can be compared on a day-to-day basis.
|
||
If indent is a non-negative integer or s...</p></li><li class="kind-text"><a href="library/locale.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">locale</span></code> — Internationalization services</a><p class="context">...the
|
||
behavior in the way described above.
|
||
To maintain compatibility with other platforms, not only the LANG
|
||
variable is <span class="highlighted">test</span>ed, but a list of variables given as envvars parameter. The
|
||
first found to be defined will be used. envvars defaul...</p></li><li class="kind-text"><a href="library/logging.handlers.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">logging.handlers</span></code> — Logging handlers</a><p class="context">...imply
|
||
renamed to the destination.
|
||
|
||
Parameters:
|
||
|
||
source – The source filename. This is normally the base
|
||
filename, e.g. ‘<span class="highlighted">test</span>.log’.
|
||
dest – The destination filename. This is normally
|
||
what the source is rotated to, e.g. ‘<span class="highlighted">test</span>.log.1’.
|
||
|
||
|
||
|
||
|
||
Added...</p></li><li class="kind-text"><a href="library/math.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">math</span></code> — Mathematical functions</a><p class="context">...ways to choose k items from n items without repetition and without order
|
||
|
||
factorial(n)
|
||
n factorial
|
||
|
||
gcd(*integers)
|
||
Grea<span class="highlighted">test</span> common divisor of the integer arguments
|
||
|
||
isqrt(n)
|
||
Integer square root of a nonnegative integer n
|
||
|
||
lcm(*integers)
|
||
Le...</p></li><li class="kind-text"><a href="library/multiprocessing.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">multiprocessing</span></code> — Process-based parallelism</a><p class="context">...upport()
|
||
Add support for when a program which uses multiprocessing has been
|
||
frozen to produce an executable. (Has been <span class="highlighted">test</span>ed with py2exe,
|
||
PyInstaller and cx_Freeze.)
|
||
One needs to call this function straight after the if __name__ ==
|
||
'__mai...</p></li><li class="kind-text"><a href="library/operator.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">operator</span></code> — Standard operators as functions</a><p class="context">...mation about rich comparisons.
|
||
|
||
|
||
The logical operations are also generally applicable to all objects, and support
|
||
truth <span class="highlighted">test</span>s, identity <span class="highlighted">test</span>s, and boolean operations:
|
||
|
||
|
||
operator.not_(obj)
|
||
|
||
operator.__not__(obj)
|
||
Return the outcome of not obj...</p></li><li class="kind-text"><a href="library/optparse.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">optparse</span></code> — Parser for command line options</a><p class="context">...st entirely for backwards compatibility reasons.
|
||
However, it also serves a niche use case as a tool for prototyping and <span class="highlighted">test</span>ing
|
||
command line argument handling in getopt-based C applications.
|
||
optparse should be considered as an alternative t...</p></li><li class="kind-text"><a href="library/os.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">os</span></code> — Miscellaneous operating system interfaces</a><p class="context">...f the file descriptor fd is open and connected to a
|
||
tty(-like) device, else False.
|
||
|
||
|
||
|
||
|
||
os.lockf(fd, cmd, len, /)
|
||
Apply, <span class="highlighted">test</span> or remove a POSIX lock on an open file descriptor.
|
||
fd is an open file descriptor.
|
||
cmd specifies the command to use...</p></li><li class="kind-text"><a href="library/pathlib.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pathlib</span></code> — Object-oriented filesystem paths</a><p class="context">...__'), PosixPath('build')]
|
||
|
||
|
||
Listing Python source files in this directory tree:
|
||
>>> list(p.glob('**/*.py'))
|
||
[PosixPath('<span class="highlighted">test</span>_pathlib.py'), PosixPath('setup.py'),
|
||
PosixPath('pathlib.py'), PosixPath('docs/conf.py'),
|
||
PosixPath('build/lib/pat...</p></li><li class="kind-text"><a href="library/poplib.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">poplib</span></code> — POP3 protocol client</a><p class="context">...message’s seen flag; unfortunately, TOP is poorly specified in the RFCs and is
|
||
frequently broken in off-brand servers. <span class="highlighted">Test</span> this method by hand against the
|
||
POP3 servers you will use before trusting it.
|
||
|
||
|
||
|
||
|
||
POP3.uidl(which=None)
|
||
Return mess...</p></li><li class="kind-text"><a href="library/pty.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pty</span></code> — Pseudo-terminal utilities</a><p class="context">...inal programmatically.
|
||
|
||
Availability: Unix.
|
||
|
||
Pseudo-terminal handling is highly platform dependent. This code is mainly
|
||
<span class="highlighted">test</span>ed on Linux, FreeBSD, and macOS (it is supposed to work on other POSIX
|
||
platforms but it’s not been thoroughly <span class="highlighted">test</span>ed...</p></li><li class="kind-text"><a href="library/random.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">random</span></code> — Generate pseudo-random numbers</a><p class="context">.... The underlying implementation in C is
|
||
both fast and threadsafe. The Mersenne Twister is one of the most extensively
|
||
<span class="highlighted">test</span>ed random number generators in existence. However, being completely
|
||
deterministic, it is not suitable for all purpo...</p></li><li class="kind-text"><a href="library/re.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">re</span></code> — Regular expression operations</a><p class="context">...t to
|
||
right. When one pattern completely matches, that branch is accepted. This means
|
||
that once A matches, B will not be <span class="highlighted">test</span>ed further, even if it would
|
||
produce a longer overall match. In other words, the '|' operator is never
|
||
greedy. To...</p></li><li class="kind-text"><a href="library/smtplib.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">smtplib</span></code> — SMTP protocol client</a><p class="context">...it should not be necessary to call this method explicitly.
|
||
It is used to implement other methods and may be useful for <span class="highlighted">test</span>ing private
|
||
extensions.
|
||
If the connection to the server is lost while waiting for the reply,
|
||
SMTPServerDisconnected...</p></li><li class="kind-text"><a href="library/sqlite3.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">sqlite3</span></code> — DB-API 2.0 interface for SQLite databases</a><p class="context">...converter function using the first word of the
|
||
declared type as the converter dictionary key.
|
||
For example:
|
||
CREATE TABLE <span class="highlighted">test</span>(
|
||
i integer primary key, ! will look up a converter named "integer"
|
||
p point, ! will look up a...</p></li><li class="kind-text"><a href="library/stat.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">stat</span></code> — Interpreting <code class="xref py py-func docutils literal notranslate"><span class="pre">stat()</span></code> results</a><p class="context">...ed in version 3.4: The stat module is backed by a C implementation.
|
||
|
||
The stat module defines the following functions to <span class="highlighted">test</span> for specific file
|
||
types:
|
||
|
||
|
||
stat.S_ISDIR(mode)
|
||
Return non-zero if the mode is from a directory.
|
||
|
||
|
||
|
||
|
||
stat.S_ISCHR(mod...</p></li><li class="kind-text"><a href="library/statistics.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">statistics</span></code> — Mathematical statistics functions</a><p class="context">...rrent algorithm has an early-out when it encounters a zero
|
||
in the input. This means that the subsequent inputs are not <span class="highlighted">test</span>ed
|
||
for validity. (This behavior may change in the future.)
|
||
|
||
Added in version 3.6.
|
||
|
||
|
||
Changed in version 3.10: Added...</p></li><li class="kind-text"><a href="library/symtable.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">symtable</span></code> — Access to the compiler’s symbol tables</a><p class="context">...ss
|
||
...
|
||
... @classmethod
|
||
... async def h(cls): pass
|
||
...
|
||
... global outer
|
||
... def outer(self): pass
|
||
... ''', '<span class="highlighted">test</span>', 'exec')
|
||
>>> class_A = st.get_children()[2]
|
||
>>> class_A.get_methods()
|
||
('f', 'g', 'h')
|
||
|
||
|
||
Although A().f() raises Ty...</p></li><li class="kind-text"><a href="library/sys.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">sys</span></code> — System-specific parameters and functions</a><p class="context">...his is guaranteed to increase
|
||
with each version, including proper support for non-production releases. For
|
||
example, to <span class="highlighted">test</span> that the Python interpreter is at least version 1.5.2, use:
|
||
if sys.hexversion >= 0x010502F0:
|
||
# use some advance...</p></li><li class="kind-text"><a href="library/tarfile.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tarfile</span></code> — Read and write tar archive files</a><p class="context">...<tarfile> [<output_dir>]
|
||
Extract tarfile into the current directory if output_dir is not specified.
|
||
|
||
|
||
|
||
|
||
-t <tarfile>
|
||
|
||
--<span class="highlighted">test</span> <tarfile>
|
||
<span class="highlighted">Test</span> whether the tarfile is valid or not.
|
||
|
||
|
||
|
||
|
||
-v, --verbose
|
||
Verbose output.
|
||
|
||
|
||
|
||
|
||
--filter <filtername>
|
||
Spe...</p></li><li class="kind-text"><a href="library/textwrap.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">textwrap</span></code> — Text wrapping and filling</a><p class="context">...g only whitespace are ignored in the input and normalized to a
|
||
single newline character in the output.
|
||
For example:
|
||
def <span class="highlighted">test</span>():
|
||
# end first line with \ to avoid the empty line!
|
||
s = '''\
|
||
hello
|
||
world
|
||
'''
|
||
print(repr(s...</p></li><li class="kind-text"><a href="library/threading.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">threading</span></code> — Thread-based parallelism</a><p class="context">...alive when its run() method terminates – either
|
||
normally, or by raising an unhandled exception. The is_alive()
|
||
method <span class="highlighted">test</span>s whether the thread is alive.
|
||
Other threads can call a thread’s join() method. This blocks
|
||
the calling thread unti...</p></li><li class="kind-text"><a href="library/timeit.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">timeit</span></code> — Measure execution time of small code snippets</a><p class="context">...lly the time the statement body took on average within the
|
||
best repetition of the timing loop. That is, the time the fas<span class="highlighted">test</span> repetition
|
||
took divided by the loop count.
|
||
>>> import timeit
|
||
>>> timeit.timeit('char in text', setup='text = "sampl...</p></li><li class="kind-text"><a href="library/tkinter.ttk.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tkinter.ttk</span></code> — Tk themed widgets</a><p class="context">...look and feel.
|
||
As discussed above, there are differences in how the styling is coded.
|
||
Tk code:
|
||
l1 = tkinter.Label(text="<span class="highlighted">Test</span>", fg="black", bg="white")
|
||
l2 = tkinter.Label(text="<span class="highlighted">Test</span>", fg="black", bg="white")
|
||
|
||
|
||
Ttk code:
|
||
style = ttk.Style()
|
||
s...</p></li><li class="kind-text"><a href="library/tracemalloc.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tracemalloc</span></code> — Trace memory allocations</a><p class="context">...statistics('lineno')
|
||
|
||
print("[ Top 10 ]")
|
||
for stat in top_stats[:10]:
|
||
print(stat)
|
||
|
||
|
||
Example of output of the Python <span class="highlighted">test</span> suite:
|
||
[ Top 10 ]
|
||
<frozen importlib._bootstrap>:716: size=4855 KiB, count=39328, average=126 B
|
||
<frozen importlib._b...</p></li><li class="kind-text"><a href="library/typing.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">typing</span></code> — Support for type hints</a><p class="context">...t):
|
||
# Do some complex type-narrowing logic,
|
||
# after which we hope the inferred type will be `int`
|
||
...
|
||
# <span class="highlighted">Test</span> whether the type checker correctly understands our function
|
||
assert_type(arg, int)
|
||
|
||
|
||
|
||
Added in version 3.11....</p></li><li class="kind-text"><a href="library/unittest.mock.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library</a><p class="context">unit<span class="highlighted">test</span>.mock — mock object library
|
||
|
||
Added in version 3.3.
|
||
|
||
Source code: Lib/unit<span class="highlighted">test</span>/mock.py
|
||
|
||
unit<span class="highlighted">test</span>.mock is a library for <span class="highlighted">test</span>ing in Python. It allows you to
|
||
replace parts of your system under <span class="highlighted">test</span> with mock objects and...</p></li><li class="kind-text"><a href="library/urllib.request.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">urllib.request</span></code> — Extensible library for opening URLs</a><p class="context">...on installation supports SSL.
|
||
>>> import urllib.request
|
||
>>> req = urllib.request.Request(url='https://localhost/cgi-bin/<span class="highlighted">test</span>.cgi',
|
||
... data=b'This data is passed to stdin of the CGI')
|
||
>>> with urllib.request.urlopen(re...</p></li><li class="kind-text"><a href="library/weakref.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">weakref</span></code> — Weak references</a><p class="context">...sh() is called the first time only after the object was deleted,
|
||
the call will raise TypeError.
|
||
Weak references support <span class="highlighted">test</span>s for equality, but not ordering. If the referents
|
||
are still alive, two references have the same equality relations...</p></li><li class="kind-text"><a href="library/wsgiref.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">wsgiref</span></code> — WSGI Utilities and Reference Implementation</a><p class="context">...etween URIs ending in /x from ones ending in /x/ when using this
|
||
routine to do object traversal.
|
||
|
||
|
||
|
||
|
||
wsgiref.util.setup_<span class="highlighted">test</span>ing_defaults(environ)
|
||
Update environ with trivial defaults for <span class="highlighted">test</span>ing purposes.
|
||
This routine adds various parameter...</p></li><li class="kind-text"><a href="library/xml.etree.elementtree.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">xml.etree.ElementTree</span></code> — The ElementTree XML API</a><p class="context">...ial element
|
||
that will be serialized as an XML comment by the standard serializer. The
|
||
comment string can be either a by<span class="highlighted">test</span>ring or a Unicode string. text is a
|
||
string containing the comment string. Returns an element instance
|
||
representing...</p></li><li class="kind-text"><a href="library/xmlrpc.client.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">xmlrpc.client</span></code> — XML-RPC client access</a><p class="context">...date/time values.
|
||
|
||
Changed in version 3.3: The use_builtin_types flag was added.
|
||
|
||
|
||
|
||
|
||
|
||
Example of Client Usage
|
||
# simple <span class="highlighted">test</span> program (from the XML-RPC specification)
|
||
from xmlrpc.client import ServerProxy, Error
|
||
|
||
# server = ServerProxy("http...</p></li><li class="kind-text"><a href="library/zipfile.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">zipfile</span></code> — Work with ZIP archives</a><p class="context">...hive)
|
||
Resolve the date_time, compression attributes, and external attributes
|
||
to suitable defaults as used by ZipFile.wri<span class="highlighted">test</span>r().
|
||
Returns self for chaining.
|
||
|
||
Added in version 3.14.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
zipfile.is_zipfile(filename)
|
||
Returns True if filename...</p></li><li class="kind-text"><a href="library/zoneinfo.html" data-score="5"><code class="xref py py-mod docutils literal notranslate"><span class="pre">zoneinfo</span></code> — IANA time zone support</a><p class="context">...e using the
|
||
reset_tzpath() function. This is generally not an advisable operation,
|
||
though it is reasonable to use it in <span class="highlighted">test</span> functions that require the use of a
|
||
specific time zone path (or require disabling access to the system time zones)....</p></li><li class="kind-text"><a href="using/cmdline.html" data-score="5"><span class="section-number">1. </span>Command line and environment</a><p class="context">...nsitive.
|
||
The category field matches the warning category
|
||
(ex: DeprecationWarning). This must be a class name; the match <span class="highlighted">test</span>
|
||
whether the actual warning category of the message is a subclass of the
|
||
specified warning category.
|
||
The module fiel...</p></li><li class="kind-text"><a href="extending/extending.html" data-score="5"><span class="section-number">1. </span>Extending Python with C or C++</a><p class="context">...xception and
|
||
its associated value. You don’t need to Py_INCREF() the objects passed
|
||
to any of these functions.
|
||
You can <span class="highlighted">test</span> non-destructively whether an exception has been set with
|
||
PyErr_Occurred(). This returns the current exception obje...</p></li><li class="kind-text"><a href="reference/introduction.html" data-score="5"><span class="section-number">1. </span>Introduction</a><p class="context">...va applications, or can be used to create applications using the
|
||
Java class libraries. It is also often used to create <span class="highlighted">test</span>s for Java libraries.
|
||
More information can be found at the Jython website.
|
||
|
||
Python for .NETThis implementation actua...</p></li><li class="kind-text"><a href="tutorial/appetite.html" data-score="5"><span class="section-number">1. </span>Whetting Your Appetite</a><p class="context">...rofessional software developer, you may have to work with several
|
||
C/C++/Java libraries but find the usual write/compile/<span class="highlighted">test</span>/re-compile cycle is
|
||
too slow. Perhaps you’re writing a <span class="highlighted">test</span> suite for such a library and find
|
||
writing the <span class="highlighted">test</span>ing...</p></li><li class="kind-text"><a href="tutorial/stdlib.html" data-score="5"><span class="section-number">10. </span>Brief Tour of the Standard Library</a><p class="context">...expressions offer
|
||
succinct, optimized solutions:
|
||
>>> import re
|
||
>>> re.findall(r'\bf[a-z]*', 'which foot or hand fell fas<span class="highlighted">test</span>')
|
||
['foot', 'fell', 'fas<span class="highlighted">test</span>']
|
||
>>> re.sub(r'(\b[a-z]+) \1', r'\1', 'cat in the the hat')
|
||
'cat in the hat'
|
||
|
||
|
||
When onl...</p></li><li class="kind-text"><a href="tutorial/stdlib2.html" data-score="5"><span class="section-number">11. </span>Brief Tour of the Standard Library — Part II</a><p class="context">...epresent
|
||
decimal quantities.
|
||
Exact representation enables the Decimal class to perform
|
||
modulo calculations and equality <span class="highlighted">test</span>s that are unsuitable for binary floating
|
||
point:
|
||
>>> Decimal('1.00') % Decimal('.10')
|
||
Decimal('0.00')
|
||
>>> 1.00 % 0.1...</p></li><li class="kind-text"><a href="tutorial/introduction.html" data-score="5"><span class="section-number">3. </span>An Informal Introduction to Python</a><p class="context">...a string or list value, in fact any sequence;
|
||
anything with a non-zero length is true, empty sequences are false. The <span class="highlighted">test</span>
|
||
used in the example is a simple comparison. The standard comparison operators
|
||
are written the same as in C: < (les...</p></li><li class="kind-text"><a href="reference/datamodel.html" data-score="5"><span class="section-number">3. </span>Data model</a><p class="context">...e implementation used, so should
|
||
not be relied upon, but is something to be aware of when making use of object
|
||
identity <span class="highlighted">test</span>s.
|
||
However, after c = []; d = [], c and d are guaranteed to refer to two
|
||
different, unique, newly created empty list...</p></li><li class="kind-text"><a href="tutorial/controlflow.html" data-score="5"><span class="section-number">4. </span>More Control Flow Tools</a><p class="context">...:
|
||
ask_ok('OK to overwrite the file?', 2, 'Come on, only yes or no!')
|
||
|
||
This example also introduces the in keyword. This <span class="highlighted">test</span>s whether or
|
||
not a sequence contains a certain value.
|
||
The default values are evaluated at the point of function defi...</p></li><li class="kind-text"><a href="using/windows.html" data-score="5"><span class="section-number">4. </span>Using Python on Windows</a><p class="context">...installed the Python Install Manager, the global python
|
||
command can be used from any terminal to launch your current la<span class="highlighted">test</span> version of
|
||
Python. This version may change over time as you add or remove different
|
||
versions, and the py list comma...</p></li><li class="kind-text"><a href="tutorial/datastructures.html" data-score="5"><span class="section-number">5. </span>Data Structures</a><p class="context">...udes a data type for sets. A set is
|
||
an unordered collection with no duplicate elements. Basic uses include
|
||
membership <span class="highlighted">test</span>ing and eliminating duplicate entries. Set objects also
|
||
support mathematical operations like union, intersection, d...</p></li><li class="kind-text"><a href="using/mac.html" data-score="5"><span class="section-number">5. </span>Using Python on macOS</a><p class="context">...ilt versions of Python and
|
||
many packages for older versions of macOS.
|
||
|
||
|
||
Note that distributions might not include the la<span class="highlighted">test</span> versions of Python or
|
||
other libraries, and are not maintained or supported by the core Python team.
|
||
|
||
|
||
5.3. Installi...</p></li><li class="kind-text"><a href="tutorial/modules.html" data-score="5"><span class="section-number">6. </span>Modules</a><p class="context">...ion. Therefore, if you change your modules, you must restart the
|
||
interpreter – or, if it’s just one module you want to <span class="highlighted">test</span> interactively,
|
||
use importlib.reload(), e.g. import importlib;
|
||
importlib.reload(modulename).
|
||
|
||
|
||
6.1.1. Executing modu...</p></li><li class="kind-text"><a href="using/android.html" data-score="5"><span class="section-number">6. </span>Using Python on Android</a><p class="context">...e Kivy project
|
||
Chaquopy
|
||
pyqtdeploy
|
||
Termux
|
||
|
||
If you’re sure you want to do all of this manually, read on. You can use the
|
||
<span class="highlighted">test</span>bed app as a guide; each step below contains a
|
||
link to the relevant file.
|
||
|
||
First, acquire a build of Python for Andr...</p></li><li class="kind-text"><a href="tutorial/inputoutput.html" data-score="5"><span class="section-number">7. </span>Input and Output</a><p class="context">...e(string) writes the contents of string to the file, returning
|
||
the number of characters written.
|
||
>>> f.write('This is a <span class="highlighted">test</span>\n')
|
||
15
|
||
|
||
|
||
Other types of objects need to be converted – either to a string (in text mode)
|
||
or a bytes object (in bina...</p></li><li class="kind-text"><a href="reference/compound_stmts.html" data-score="5"><span class="section-number">8. </span>Compound statements</a><p class="context">...e following is illegal,
|
||
mostly because it wouldn’t be clear to which if clause a following
|
||
else clause would belong:
|
||
if <span class="highlighted">test</span>1: if <span class="highlighted">test</span>2: print(x)
|
||
|
||
|
||
Also note that the semicolon binds tighter than the colon in this context, so
|
||
that in the fo...</p></li><li class="kind-text"><a href="tutorial/errors.html" data-score="5"><span class="section-number">8. </span>Errors and Exceptions</a><p class="context">...lly
|
||
be ones that have already been raised and caught by the program, along
|
||
the following pattern:
|
||
>>> excs = []
|
||
... for <span class="highlighted">test</span> in <span class="highlighted">test</span>s:
|
||
... try:
|
||
... <span class="highlighted">test</span>.run()
|
||
... except Exception as e:
|
||
... excs.append(e)
|
||
...
|
||
>>> if...</p></li><li class="kind-text"><a href="tutorial/classes.html" data-score="5"><span class="section-number">9. </span>Classes</a><p class="context">...ng how to reference the different scopes and
|
||
namespaces, and how global and nonlocal affect variable
|
||
binding:
|
||
def scope_<span class="highlighted">test</span>():
|
||
def do_local():
|
||
spam = "local spam"
|
||
|
||
def do_nonlocal():
|
||
nonlocal spam
|
||
spam = "no...</p></li><li class="kind-text"><a href="howto/ipaddress.html" data-score="5">An introduction to the ipaddress module</a><p class="context">...1]
|
||
IPv6Address('2001:db8::ffff:ffff')
|
||
|
||
|
||
It also means that network objects lend themselves to using the list
|
||
membership <span class="highlighted">test</span> syntax like this:
|
||
if address in network:
|
||
# do something
|
||
|
||
|
||
Containment <span class="highlighted">test</span>ing is done efficiently based on the...</p></li><li class="kind-text"><a href="howto/argparse.html" data-score="5">Argparse Tutorial</a><p class="context">...d, the relevant variable, in this case args.verbosity, is
|
||
given None as a value, which is the reason it fails the truth
|
||
<span class="highlighted">test</span> of the if statement.
|
||
The help message is a bit different.
|
||
When using the --verbosity option, one must also specify...</p></li><li class="kind-text"><a href="library/exceptions.html" data-score="5">Built-in Exceptions</a><p class="context">...passed as arguments to the exception
|
||
class’s constructor.
|
||
User code can raise built-in exceptions. This can be used to <span class="highlighted">test</span> an exception
|
||
handler or to report an error condition “just like” the situation in which the
|
||
interpreter raises the...</p></li><li class="kind-text"><a href="library/functions.html" data-score="5">Built-in Functions</a><p class="context">...object=False, /)
|
||
Return a Boolean value, i.e. one of True or False. The argument
|
||
is converted using the standard truth <span class="highlighted">test</span>ing procedure.
|
||
If the argument is false
|
||
or omitted, this returns False; otherwise, it returns True. The
|
||
bool class...</p></li><li class="kind-text"><a href="c-api/stable.html" data-score="5">C API Stability</a><p class="context">...not hidden when
|
||
Py_LIMITED_API is defined, even though they’re part of the Limited API.
|
||
For these reasons, we recommend <span class="highlighted">test</span>ing an extension with all minor Python
|
||
versions it supports, and preferably to build with the lowest such version.
|
||
W...</p></li><li class="kind-text"><a href="library/asyncio-graph.html" data-score="5">Call Graph Introspection</a><p class="context">...s omitted or None, the function will print
|
||
to sys.stdout.
|
||
Example:
|
||
The following Python code:
|
||
import asyncio
|
||
|
||
async def <span class="highlighted">test</span>():
|
||
asyncio.print_call_graph()
|
||
|
||
async def main():
|
||
async with asyncio.TaskGroup() as g:
|
||
g.create_task...</p></li><li class="kind-object"><a href="library/collections.abc.html#collections.abc.ByteString.index" data-score="5">collections.abc.By<span class="highlighted">teSt</span>ring.index</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">collections.abc</span></code> — Abstract Base Classes for Containers)</span></li><li class="kind-text"><a href="c-api/structures.html" data-score="5">Common Object Structures</a><p class="context">...jects, the same as object in Python.
|
||
|
||
|
||
|
||
|
||
int Py_Is(PyObject *x, PyObject *y)
|
||
Part of the Stable ABI since version 3.10.<span class="highlighted">Test</span> if the x object is the y object, the same as x is y in Python.
|
||
|
||
Added in version 3.10.
|
||
|
||
|
||
|
||
|
||
|
||
int Py_IsNone(PyObject...</p></li><li class="kind-text"><a href="howto/curses.html" data-score="5">Curses Programming with Python</a><p class="context">...r in color. They’ll be explained in more detail in
|
||
the next subsection.
|
||
The addstr() method takes a Python string or
|
||
by<span class="highlighted">test</span>ring as the value to be displayed. The contents of by<span class="highlighted">test</span>rings
|
||
are sent to the terminal as-is. Strings are encoded...</p></li><li class="kind-text"><a href="howto/gdb_helpers.html" data-score="5">Debugging C API extensions and CPython Internals with GDB</a><p class="context">...mString (v=
|
||
{'Yuck': <type at remote 0xad4730>, '__builtins__': <module at remote 0x7ffff7fd5ee8>, '__file__': 'Lib/<span class="highlighted">test</span>/crashers/nasty_eq_vs_dict.py', '__package__': None, 'y': <Yuck(i=0) at remote 0xaacd80>, 'dict': {0: 0, 1: 1, 2: 2,...</p></li><li class="kind-text"><a href="c-api/extension-modules.html" data-score="5">Defining extension modules</a><p class="context">...of this document.
|
||
One suitable tool is Setuptools, whose documentation can be found at
|
||
https://setuptools.pypa.io/en/la<span class="highlighted">test</span>/setuptools.html.
|
||
|
||
Normally, the initialization function returns a module definition initialized
|
||
using PyModuleDef_I...</p></li><li class="kind-text"><a href="deprecations/index.html" data-score="5">Deprecations</a><p class="context">...en deprecated since Python 3.13.
|
||
This function is only useful for Jython support, has a confusing API,
|
||
and is largely un<span class="highlighted">test</span>ed.
|
||
|
||
|
||
sysconfig:
|
||
|
||
The check_home argument of sysconfig.is_python_build() has been
|
||
deprecated since Python 3.12.
|
||
|
||
|
||
th...</p></li><li class="kind-text"><a href="howto/descriptor.html" data-score="5">Descriptor Guide</a><p class="context">...te(self, value):
|
||
pass
|
||
|
||
|
||
Custom validators need to inherit from Validator and must supply a
|
||
validate() method to <span class="highlighted">test</span> various restrictions as needed.
|
||
|
||
|
||
Custom validators
|
||
Here are three practical data validation utilities:
|
||
|
||
OneOf veri...</p></li><li class="kind-text"><a href="faq/design.html" data-score="5">Design and History FAQ</a><p class="context">...r, and
|
||
MutableMapping.
|
||
For Python, many of the advantages of interface specifications can be obtained
|
||
by an appropriate <span class="highlighted">test</span> discipline for components.
|
||
A good <span class="highlighted">test</span> suite for a module can both provide a regression <span class="highlighted">test</span> and serve as a
|
||
module...</p></li><li class="kind-text"><a href="library/asyncio-dev.html" data-score="5">Developing with asyncio</a><p class="context">...he coroutine is not scheduled with asyncio.create_task(), asyncio
|
||
will emit a RuntimeWarning:
|
||
import asyncio
|
||
|
||
async def <span class="highlighted">test</span>():
|
||
print("never scheduled")
|
||
|
||
async def main():
|
||
<span class="highlighted">test</span>()
|
||
|
||
asyncio.run(main())
|
||
|
||
|
||
Output:
|
||
<span class="highlighted">test</span>.py:7: RuntimeWarn...</p></li><li class="kind-text"><a href="library/development.html" data-score="5">Development Tools</a><p class="context">...ware. For example, the
|
||
pydoc module takes a module and generates documentation based on the
|
||
module’s contents. The doc<span class="highlighted">test</span> and unit<span class="highlighted">test</span> modules contains
|
||
frameworks for writing unit <span class="highlighted">test</span>s that automatically exercise code and verify
|
||
that th...</p></li><li class="kind-object"><a href="library/doctest.html#cmdoption-doctest-f" data-score="5">doc<span class="highlighted">test</span>.--fail-fast</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#cmdoption-doctest-o" data-score="5">doc<span class="highlighted">test</span>.--option</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#cmdoption-doctest-v" data-score="5">doc<span class="highlighted">test</span>.--verbose</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#cmdoption-doctest-f" data-score="5">doc<span class="highlighted">test</span>.-f</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#cmdoption-doctest-o" data-score="5">doc<span class="highlighted">test</span>.-o</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#cmdoption-doctest-v" data-score="5">doc<span class="highlighted">test</span>.-v</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.COMPARISON_FLAGS" data-score="5">doc<span class="highlighted">test</span>.COMPARISON_FLAGS</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.debug" data-score="5">doc<span class="highlighted">test</span>.debug</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.debug_src" data-score="5">doc<span class="highlighted">test</span>.debug_src</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DebugRunner" data-score="5">doc<span class="highlighted">test</span>.DebugRunner</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocFileSuite" data-score="5">doc<span class="highlighted">test</span>.DocFileSuite</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTest.docstring" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>.docstring</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTest.examples" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>.examples</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTest.filename" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>.filename</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTest.globs" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>.globs</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTest.lineno" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>.lineno</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTest.name" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>.name</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestFailure.example" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Failure.example</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestFailure.got" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Failure.got</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestFinder.find" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Finder.find</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestParser.get_examples" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Parser.get_examples</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestParser.parse" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Parser.parse</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestRunner.failures" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Runner.failures</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestRunner.report_failure" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Runner.report_failure</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestRunner.report_start" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Runner.report_start</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestRunner.report_success" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Runner.report_success</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestRunner.report_unexpected_exception" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Runner.report_unexpected_exception</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestRunner.run" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Runner.run</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestRunner.skips" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Runner.skips</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestRunner.summarize" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Runner.summarize</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DocTestRunner.tries" data-score="5">doc<span class="highlighted">test</span>.Doc<span class="highlighted">Test</span>Runner.tries</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DONT_ACCEPT_BLANKLINE" data-score="5">doc<span class="highlighted">test</span>.DONT_ACCEPT_BLANKLINE</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.DONT_ACCEPT_TRUE_FOR_1" data-score="5">doc<span class="highlighted">test</span>.DONT_ACCEPT_TRUE_FOR_1</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.ELLIPSIS" data-score="5">doc<span class="highlighted">test</span>.ELLIPSIS</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.Example" data-score="5">doc<span class="highlighted">test</span>.Example</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.Example.exc_msg" data-score="5">doc<span class="highlighted">test</span>.Example.exc_msg</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.Example.indent" data-score="5">doc<span class="highlighted">test</span>.Example.indent</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.Example.lineno" data-score="5">doc<span class="highlighted">test</span>.Example.lineno</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.Example.options" data-score="5">doc<span class="highlighted">test</span>.Example.options</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.Example.source" data-score="5">doc<span class="highlighted">test</span>.Example.source</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.Example.want" data-score="5">doc<span class="highlighted">test</span>.Example.want</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.FAIL_FAST" data-score="5">doc<span class="highlighted">test</span>.FAIL_FAST</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.IGNORE_EXCEPTION_DETAIL" data-score="5">doc<span class="highlighted">test</span>.IGNORE_EXCEPTION_DETAIL</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.NORMALIZE_WHITESPACE" data-score="5">doc<span class="highlighted">test</span>.NORMALIZE_WHITESPACE</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.OutputChecker" data-score="5">doc<span class="highlighted">test</span>.OutputChecker</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.OutputChecker.check_output" data-score="5">doc<span class="highlighted">test</span>.OutputChecker.check_output</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.OutputChecker.output_difference" data-score="5">doc<span class="highlighted">test</span>.OutputChecker.output_difference</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.register_optionflag" data-score="5">doc<span class="highlighted">test</span>.register_optionflag</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.REPORT_CDIFF" data-score="5">doc<span class="highlighted">test</span>.REPORT_CDIFF</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.REPORT_NDIFF" data-score="5">doc<span class="highlighted">test</span>.REPORT_NDIFF</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.REPORT_ONLY_FIRST_FAILURE" data-score="5">doc<span class="highlighted">test</span>.REPORT_ONLY_FIRST_FAILURE</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.REPORT_UDIFF" data-score="5">doc<span class="highlighted">test</span>.REPORT_UDIFF</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.REPORTING_FLAGS" data-score="5">doc<span class="highlighted">test</span>.REPORTING_FLAGS</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.run_docstring_examples" data-score="5">doc<span class="highlighted">test</span>.run_docstring_examples</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.script_from_examples" data-score="5">doc<span class="highlighted">test</span>.script_from_examples</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.SKIP" data-score="5">doc<span class="highlighted">test</span>.SKIP</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.TestResults.attempted" data-score="5">doc<span class="highlighted">test</span>.<span class="highlighted">Test</span>Results.attempted</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.TestResults.failed" data-score="5">doc<span class="highlighted">test</span>.<span class="highlighted">Test</span>Results.failed</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.TestResults.skipped" data-score="5">doc<span class="highlighted">test</span>.<span class="highlighted">Test</span>Results.skipped</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.UnexpectedException" data-score="5">doc<span class="highlighted">test</span>.UnexpectedException</a><span> (Python exception, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.UnexpectedException.example" data-score="5">doc<span class="highlighted">test</span>.UnexpectedException.example</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-object"><a href="library/doctest.html#doctest.UnexpectedException.exc_info" data-score="5">doc<span class="highlighted">test</span>.UnexpectedException.exc_info</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples)</span></li><li class="kind-text"><a href="howto/enum.html" data-score="5">Enum HOWTO</a><p class="context">...LUE # problem is here: they should not be equal
|
||
True
|
||
|
||
|
||
|
||
|
||
|
||
Pickling
|
||
Enumerations can be pickled and unpickled:
|
||
>>> from <span class="highlighted">test</span>.<span class="highlighted">test</span>_enum import Fruit
|
||
>>> from pickle import dumps, loads
|
||
>>> Fruit.TOMATO is loads(dumps(Fruit.TOMATO))
|
||
True
|
||
|
||
|
||
Th...</p></li><li class="kind-text"><a href="c-api/exceptions.html" data-score="5">Exception Handling</a><p class="context">...Querying the error indicator
|
||
|
||
|
||
PyObject *PyErr_Occurred()
|
||
Return value: Borrowed reference. Part of the Stable ABI.<span class="highlighted">Test</span> whether the error indicator is set. If set, return the exception type
|
||
(the first argument to the last call to one...</p></li><li class="kind-text"><a href="faq/extending.html" data-score="5">Extending/Embedding FAQ</a><p class="context">...its value and its
|
||
length. Note that Python bytes objects may contain null bytes so C’s
|
||
strlen() should not be used.
|
||
To <span class="highlighted">test</span> the type of an object, first make sure it isn’t NULL, and then use
|
||
PyBytes_Check(), PyTuple_Check(), PyList_Check()...</p></li><li class="kind-text"><a href="library/asyncio-future.html" data-score="5">Futures</a><p class="context">...loop=None)
|
||
Return:
|
||
|
||
obj argument as is, if obj is a Future,
|
||
a Task, or a Future-like object (isfuture()
|
||
is used for the <span class="highlighted">test</span>.)
|
||
a Task object wrapping obj, if obj is a
|
||
coroutine (iscoroutine() is used for the <span class="highlighted">test</span>);
|
||
in this case the coroutin...</p></li><li class="kind-text"><a href="glossary.html" data-score="5">Glossary</a><p class="context">...order of
|
||
increasing indexes starting from zero. In multidimensional
|
||
C-contiguous arrays, the last index varies the fas<span class="highlighted">test</span> when
|
||
visiting items in order of memory address. However, in
|
||
Fortran contiguous arrays, the first index varies the...</p></li><li class="kind-text"><a href="howto/urllib2.html" data-score="5">HOWTO Fetch Internet Resources Using The urllib Package</a><p class="context">...tch localhost URLs through this proxy it blocks them. IE
|
||
is set to use the proxy, which urllib picks up on. In order to <span class="highlighted">test</span>
|
||
scripts with a localhost server, I have to prevent urllib from using
|
||
the proxy.
|
||
|
||
|
||
[6]
|
||
urllib opener for SSL proxy (...</p></li><li class="kind-text"><a href="library/idle.html" data-score="5">IDLE — Python editor and shell</a><p class="context">...thon DocsAccess local Python documentation, if installed, or start a web browser
|
||
and open docs.python.org showing the la<span class="highlighted">test</span> Python documentation.
|
||
|
||
Turtle DemoRun the turtledemo module with example Python code and turtle drawings.
|
||
|
||
|
||
Additio...</p></li><li class="kind-text"><a href="howto/instrumentation.html" data-score="5">Instrumenting CPython with DTrace and SystemTap</a><p class="context">...(-1), funcname, filename, lineno);
|
||
}
|
||
|
||
|
||
It can be invoked like this:
|
||
$ stap \
|
||
show-call-hierarchy.stp \
|
||
-c "./python <span class="highlighted">test</span>.py"
|
||
|
||
|
||
The output looks like this:
|
||
11408 python(8274): => __contains__ in Lib/_abcoll.py:362
|
||
11414 python(827...</p></li><li class="kind-text"><a href="c-api/intro.html" data-score="5">Introduction</a><p class="context">...n
|
||
error. Very few functions return no explicit error indicator or have an
|
||
ambiguous return value, and require explicit <span class="highlighted">test</span>ing for errors with
|
||
PyErr_Occurred(). These exceptions are always explicitly documented.
|
||
Exception state is maintai...</p></li><li class="kind-text"><a href="howto/isolating-extensions.html" data-score="5">Isolating Extension Modules</a><p class="context">...ve. Extension
|
||
authors tend to not keep multiple interpreters in mind when developing,
|
||
and it is currently cumbersome to <span class="highlighted">test</span> the behavior.
|
||
|
||
Enter Per-Module State
|
||
Instead of focusing on per-interpreter state, Python’s C API is evolving
|
||
to b...</p></li><li class="kind-text"><a href="howto/logging-cookbook.html" data-score="5">Logging Cookbook</a><p class="context">...amed fh.
|
||
The ability to create new handlers with higher- or lower-severity filters can be
|
||
very helpful when writing and <span class="highlighted">test</span>ing an application. Instead of using many
|
||
print statements for debugging, use logger.debug: Unlike the print
|
||
statem...</p></li><li class="kind-text"><a href="howto/logging.html" data-score="5">Logging HOWTO</a><p class="context">...their
|
||
application: if you add handlers ‘under the hood’, you might well interfere
|
||
with their ability to carry out unit <span class="highlighted">test</span>s and deliver logs which suit their
|
||
requirements.
|
||
|
||
|
||
|
||
|
||
Logging Levels
|
||
The numeric values of logging levels are given...</p></li><li class="kind-text"><a href="c-api/arg.html" data-score="5">Parsing arguments and building values</a><p class="context">...icode_FSConverter() and
|
||
PyUnicode_FSDecoder().
|
||
|
||
Changed in version 3.1: Py_CLEANUP_SUPPORTED was added.
|
||
|
||
|
||
p (bool) [int]<span class="highlighted">Test</span>s the value passed in for truth (a boolean predicate) and converts
|
||
the result to its equivalent C true/false integer...</p></li><li class="kind-text"><a href="deprecations/pending-removal-in-future.html" data-score="5">Pending removal in future versions</a><p class="context">...ss, a compatibility shim will be provided until at least Python 3.17. (Contributed by
|
||
Jelle Zijlstra in gh-105499.)
|
||
unit<span class="highlighted">test</span>.IsolatedAsyncio<span class="highlighted">Test</span>Case: it is deprecated to return a value
|
||
that is not None from a <span class="highlighted">test</span> case.
|
||
urllib.parse depreca...</p></li><li class="kind-text"><a href="deprecations/pending-removal-in-3.17.html" data-score="5">Pending removal in Python 3.17</a><p class="context">Pending removal in Python 3.17
|
||
|
||
collections.abc:
|
||
|
||
collections.abc.By<span class="highlighted">teSt</span>ring is scheduled for removal in Python 3.17.
|
||
Use isinstance(obj, collections.abc.Buffer) to <span class="highlighted">test</span> if obj
|
||
implements the buffer protocol at runtime. For...</p></li><li class="kind-object"><a href="c-api/file.html#c.PyFile_WriteString" data-score="5">PyFile_Wri<span class="highlighted">teSt</span>ring.p</a><span> (C function parameter, in File Objects)</span></li><li class="kind-object"><a href="c-api/file.html#c.PyFile_WriteString" data-score="5">PyFile_Wri<span class="highlighted">teSt</span>ring.s</a><span> (C function parameter, in File Objects)</span></li><li class="kind-object"><a href="c-api/sys.html#c.PySys_WriteStderr" data-score="5">PySys_Wri<span class="highlighted">teSt</span>derr.format</a><span> (C function parameter, in Operating System Utilities)</span></li><li class="kind-object"><a href="c-api/sys.html#c.PySys_WriteStdout" data-score="5">PySys_Wri<span class="highlighted">teSt</span>dout.format</a><span> (C function parameter, in Operating System Utilities)</span></li><li class="kind-text"><a href="contents.html" data-score="5">Python Documentation contents</a><p class="context">...e
|
||
socket
|
||
ssl
|
||
struct
|
||
symtable
|
||
sys
|
||
sys.monitoring
|
||
sysconfig
|
||
tarfile
|
||
threading
|
||
tkinter
|
||
turtle
|
||
types
|
||
typing
|
||
unicodedata
|
||
unit<span class="highlighted">test</span>
|
||
urllib
|
||
uuid
|
||
webbrowser
|
||
zipfile
|
||
|
||
|
||
Optimizations
|
||
asyncio
|
||
base64
|
||
bdb
|
||
difflib
|
||
gc
|
||
io
|
||
pathlib
|
||
pdb
|
||
textwrap
|
||
uuid
|
||
zlib
|
||
|
||
|
||
Re...</p></li><li class="kind-text"><a href="c-api/init_config.html" data-score="5">Python Initialization Configuration</a><p class="context">...d
|
||
UTF-8 encoded string. See Configuration Options.
|
||
|
||
|
||
int PyInitConfig_HasOption(PyInitConfig *config, const char *name)
|
||
<span class="highlighted">Test</span> if the configuration has an option called name.
|
||
Return 1 if the option exists, or return 0 otherwise.
|
||
|
||
|
||
|
||
|
||
int PyIni...</p></li><li class="kind-text"><a href="library/language.html" data-score="5">Python Language Services</a><p class="context">...ing Symbol Tables
|
||
Examining Symbol Tables
|
||
Command-Line Usage
|
||
|
||
|
||
token — Constants used with Python parse trees
|
||
keyword — <span class="highlighted">Test</span>ing for Python keywords
|
||
tokenize — Tokenizer for Python source
|
||
Tokenizing Input
|
||
Command-Line Usage
|
||
Examples
|
||
|
||
|
||
tabnan...</p></li><li class="kind-text"><a href="library/python.html" data-score="5">Python Runtime Services</a><p class="context">...eria
|
||
Describing Warning Filters
|
||
Default Warning Filter
|
||
Overriding the default filter
|
||
|
||
|
||
Temporarily Suppressing Warnings
|
||
<span class="highlighted">Test</span>ing Warnings
|
||
Updating Code For New Versions of Dependencies
|
||
Available Functions
|
||
Available Context Managers
|
||
Concurren...</p></li><li class="kind-object"><a href="c-api/unicode.html#c.PyUnicodeWriter_WriteStr" data-score="5">PyUnicodeWriter_Wri<span class="highlighted">teSt</span>r.obj</a><span> (C function parameter, in Unicode Objects and Codecs)</span></li><li class="kind-object"><a href="c-api/unicode.html#c.PyUnicodeWriter_WriteStr" data-score="5">PyUnicodeWriter_Wri<span class="highlighted">teSt</span>r.writer</a><span> (C function parameter, in Unicode Objects and Codecs)</span></li><li class="kind-text"><a href="howto/regex.html" data-score="5">Regular Expression HOWTO</a><p class="context">...rs.
|
||
|
||
Matching Characters
|
||
Most letters and characters will simply match themselves. For example, the
|
||
regular expression <span class="highlighted">test</span> will match the string <span class="highlighted">test</span> exactly. (You can
|
||
enable a case-insensitive mode that would let this RE match <span class="highlighted">Test</span> or T...</p></li><li class="kind-text"><a href="howto/sorting.html" data-score="5">Sorting Techniques</a><p class="context">...aking
|
||
comparisons.
|
||
For example, here’s a case-insensitive string comparison using
|
||
str.casefold():
|
||
>>> sorted("This is a <span class="highlighted">test</span> string from Andrew".split(), key=str.casefold)
|
||
['a', 'Andrew', 'from', 'is', 'string', '<span class="highlighted">test</span>', 'This']
|
||
|
||
|
||
The value...</p></li><li class="kind-object"><a href="library/test.html#test.support.adjust_int_max_str_digits" data-score="5"><span class="highlighted">test</span>.support.adjust_int_max_str_digits</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.ALWAYS_EQ" data-score="5"><span class="highlighted">test</span>.support.ALWAYS_EQ</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.anticipate_failure" data-score="5"><span class="highlighted">test</span>.support.anticipate_failure</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.args_from_interpreter_flags" data-score="5"><span class="highlighted">test</span>.support.args_from_interpreter_flags</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.busy_retry" data-score="5"><span class="highlighted">test</span>.support.busy_retry</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.bytecode_helper.BytecodeTestCase.assertInBytecode" data-score="5"><span class="highlighted">test</span>.support.bytecode_helper.Bytecode<span class="highlighted">Test</span>Case.assertInBytecode</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.bytecode_helper.BytecodeTestCase.assertNotInBytecode" data-score="5"><span class="highlighted">test</span>.support.bytecode_helper.Bytecode<span class="highlighted">Test</span>Case.assertNotInBytecode</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.bytecode_helper.BytecodeTestCase.get_disassembly_as_string" data-score="5"><span class="highlighted">test</span>.support.bytecode_helper.Bytecode<span class="highlighted">Test</span>Case.get_disassembly_as_string</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.calcobjsize" data-score="5"><span class="highlighted">test</span>.support.calcobjsize</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.calcvobjsize" data-score="5"><span class="highlighted">test</span>.support.calcvobjsize</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.captured_stderr" data-score="5"><span class="highlighted">test</span>.support.captured_stderr</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.captured_stdin" data-score="5"><span class="highlighted">test</span>.support.captured_stdin</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.captured_stdout" data-score="5"><span class="highlighted">test</span>.support.captured_stdout</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.catch_unraisable_exception" data-score="5"><span class="highlighted">test</span>.support.catch_unraisable_exception</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.check__all__" data-score="5"><span class="highlighted">test</span>.support.check__all__</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.check_disallow_instantiation" data-score="5"><span class="highlighted">test</span>.support.check_disallow_instantiation</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.check_free_after_iterating" data-score="5"><span class="highlighted">test</span>.support.check_free_after_iterating</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.check_impl_detail" data-score="5"><span class="highlighted">test</span>.support.check_impl_detail</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.check_syntax_error" data-score="5"><span class="highlighted">test</span>.support.check_syntax_error</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.checksizeof" data-score="5"><span class="highlighted">test</span>.support.checksizeof</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.cpython_only" data-score="5"><span class="highlighted">test</span>.support.cpython_only</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.detect_api_mismatch" data-score="5"><span class="highlighted">test</span>.support.detect_api_mismatch</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.disable_faulthandler" data-score="5"><span class="highlighted">test</span>.support.disable_faulthandler</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.disable_gc" data-score="5"><span class="highlighted">test</span>.support.disable_gc</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.findfile" data-score="5"><span class="highlighted">test</span>.support.findfile</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.flush_std_streams" data-score="5"><span class="highlighted">test</span>.support.flush_std_streams</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.gc_collect" data-score="5"><span class="highlighted">test</span>.support.gc_collect</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.get_attribute" data-score="5"><span class="highlighted">test</span>.support.get_attribute</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.get_original_stdout" data-score="5"><span class="highlighted">test</span>.support.get_original_stdout</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.get_pagesize" data-score="5"><span class="highlighted">test</span>.support.get_pagesize</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.get_resource_value" data-score="5"><span class="highlighted">test</span>.support.get_resource_value</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.HAVE_DOCSTRINGS" data-score="5"><span class="highlighted">test</span>.support.HAVE_DOCSTRINGS</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.impl_detail" data-score="5"><span class="highlighted">test</span>.support.impl_detail</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.import_helper.CleanImport" data-score="5"><span class="highlighted">test</span>.support.import_helper.CleanImport</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.import_helper.DirsOnSysPath" data-score="5"><span class="highlighted">test</span>.support.import_helper.DirsOnSysPath</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.import_helper.forget" data-score="5"><span class="highlighted">test</span>.support.import_helper.forget</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.import_helper.import_fresh_module" data-score="5"><span class="highlighted">test</span>.support.import_helper.import_fresh_module</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.import_helper.import_module" data-score="5"><span class="highlighted">test</span>.support.import_helper.import_module</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.import_helper.make_legacy_pyc" data-score="5"><span class="highlighted">test</span>.support.import_helper.make_legacy_pyc</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.import_helper.modules_cleanup" data-score="5"><span class="highlighted">test</span>.support.import_helper.modules_cleanup</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.import_helper.modules_setup" data-score="5"><span class="highlighted">test</span>.support.import_helper.modules_setup</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.import_helper.unload" data-score="5"><span class="highlighted">test</span>.support.import_helper.unload</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.INTERNET_TIMEOUT" data-score="5"><span class="highlighted">test</span>.support.INTERNET_TIMEOUT</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.is_android" data-score="5"><span class="highlighted">test</span>.support.is_android</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.is_apple" data-score="5"><span class="highlighted">test</span>.support.is_apple</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.is_apple_mobile" data-score="5"><span class="highlighted">test</span>.support.is_apple_mobile</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.is_emscripten" data-score="5"><span class="highlighted">test</span>.support.is_emscripten</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.is_jython" data-score="5"><span class="highlighted">test</span>.support.is_jython</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.is_resource_enabled" data-score="5"><span class="highlighted">test</span>.support.is_resource_enabled</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.is_wasi" data-score="5"><span class="highlighted">test</span>.support.is_wasi</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.LARGEST" data-score="5"><span class="highlighted">test</span>.support.LARGEST</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.linked_to_musl" data-score="5"><span class="highlighted">test</span>.support.linked_to_musl</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.LONG_TIMEOUT" data-score="5"><span class="highlighted">test</span>.support.LONG_TIMEOUT</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.LOOPBACK_TIMEOUT" data-score="5"><span class="highlighted">test</span>.support.LOOPBACK_TIMEOUT</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.Matcher" data-score="5"><span class="highlighted">test</span>.support.Matcher</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.Matcher.match_value" data-score="5"><span class="highlighted">test</span>.support.Matcher.match_value</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.Matcher.matches" data-score="5"><span class="highlighted">test</span>.support.Matcher.matches</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.max_memuse" data-score="5"><span class="highlighted">test</span>.support.max_memuse</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.MAX_Py_ssize_t" data-score="5"><span class="highlighted">test</span>.support.MAX_Py_ssize_t</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.MISSING_C_DOCSTRINGS" data-score="5"><span class="highlighted">test</span>.support.MISSING_C_DOCSTRINGS</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.missing_compiler_executable" data-score="5"><span class="highlighted">test</span>.support.missing_compiler_executable</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.NEVER_EQ" data-score="5"><span class="highlighted">test</span>.support.NEVER_EQ</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.no_tracing" data-score="5"><span class="highlighted">test</span>.support.no_tracing</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.open_urlresource" data-score="5"><span class="highlighted">test</span>.support.open_urlresource</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.optim_args_from_interpreter_flags" data-score="5"><span class="highlighted">test</span>.support.optim_args_from_interpreter_flags</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.can_symlink" data-score="5"><span class="highlighted">test</span>.support.os_helper.can_symlink</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.can_xattr" data-score="5"><span class="highlighted">test</span>.support.os_helper.can_xattr</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.change_cwd" data-score="5"><span class="highlighted">test</span>.support.os_helper.change_cwd</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.create_empty_file" data-score="5"><span class="highlighted">test</span>.support.os_helper.create_empty_file</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.EnvironmentVarGuard" data-score="5"><span class="highlighted">test</span>.support.os_helper.EnvironmentVarGuard</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.EnvironmentVarGuard.set" data-score="5"><span class="highlighted">test</span>.support.os_helper.EnvironmentVarGuard.set</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.EnvironmentVarGuard.unset" data-score="5"><span class="highlighted">test</span>.support.os_helper.EnvironmentVarGuard.unset</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.FakePath" data-score="5"><span class="highlighted">test</span>.support.os_helper.FakePath</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.fd_count" data-score="5"><span class="highlighted">test</span>.support.os_helper.fd_count</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.fs_is_case_insensitive" data-score="5"><span class="highlighted">test</span>.support.os_helper.fs_is_case_insensitive</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.FS_NONASCII" data-score="5"><span class="highlighted">test</span>.support.os_helper.FS_NONASCII</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.make_bad_fd" data-score="5"><span class="highlighted">test</span>.support.os_helper.make_bad_fd</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.rmdir" data-score="5"><span class="highlighted">test</span>.support.os_helper.rmdir</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.rmtree" data-score="5"><span class="highlighted">test</span>.support.os_helper.rmtree</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.SAVEDCWD" data-score="5"><span class="highlighted">test</span>.support.os_helper.SAVEDCWD</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.skip_unless_symlink" data-score="5"><span class="highlighted">test</span>.support.os_helper.skip_unless_symlink</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.skip_unless_xattr" data-score="5"><span class="highlighted">test</span>.support.os_helper.skip_unless_xattr</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.temp_cwd" data-score="5"><span class="highlighted">test</span>.support.os_helper.temp_cwd</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.temp_dir" data-score="5"><span class="highlighted">test</span>.support.os_helper.temp_dir</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.temp_umask" data-score="5"><span class="highlighted">test</span>.support.os_helper.temp_umask</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.os_helper.unlink" data-score="5"><span class="highlighted">test</span>.support.os_helper.unlink</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.patch" data-score="5"><span class="highlighted">test</span>.support.patch</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.PGO" data-score="5"><span class="highlighted">test</span>.support.PGO</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.PIPE_MAX_SIZE" data-score="5"><span class="highlighted">test</span>.support.PIPE_MAX_SIZE</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.print_warning" data-score="5"><span class="highlighted">test</span>.support.print_warning</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.Py_DEBUG" data-score="5"><span class="highlighted">test</span>.support.Py_DEBUG</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.python_is_optimized" data-score="5"><span class="highlighted">test</span>.support.python_is_optimized</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.real_max_memuse" data-score="5"><span class="highlighted">test</span>.support.real_max_memuse</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.reap_children" data-score="5"><span class="highlighted">test</span>.support.reap_children</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.record_original_stdout" data-score="5"><span class="highlighted">test</span>.support.record_original_stdout</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires" data-score="5"><span class="highlighted">test</span>.support.requires</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_bz2" data-score="5"><span class="highlighted">test</span>.support.requires_bz2</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_docstrings" data-score="5"><span class="highlighted">test</span>.support.requires_docstrings</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_freebsd_version" data-score="5"><span class="highlighted">test</span>.support.requires_freebsd_version</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_gil_enabled" data-score="5"><span class="highlighted">test</span>.support.requires_gil_enabled</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_gzip" data-score="5"><span class="highlighted">test</span>.support.requires_gzip</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_IEEE_754" data-score="5"><span class="highlighted">test</span>.support.requires_IEEE_754</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_limited_api" data-score="5"><span class="highlighted">test</span>.support.requires_limited_api</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_linux_version" data-score="5"><span class="highlighted">test</span>.support.requires_linux_version</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_lzma" data-score="5"><span class="highlighted">test</span>.support.requires_lzma</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_mac_version" data-score="5"><span class="highlighted">test</span>.support.requires_mac_version</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_resource" data-score="5"><span class="highlighted">test</span>.support.requires_resource</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.requires_zlib" data-score="5"><span class="highlighted">test</span>.support.requires_zlib</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.ResourceDenied" data-score="5"><span class="highlighted">test</span>.support.ResourceDenied</a><span> (Python exception, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.run_in_subinterp" data-score="5"><span class="highlighted">test</span>.support.run_in_subinterp</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.run_with_locale" data-score="5"><span class="highlighted">test</span>.support.run_with_locale</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.run_with_tz" data-score="5"><span class="highlighted">test</span>.support.run_with_tz</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.SaveSignals" data-score="5"><span class="highlighted">test</span>.support.SaveSignals</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.SaveSignals.restore" data-score="5"><span class="highlighted">test</span>.support.SaveSignals.restore</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.SaveSignals.save" data-score="5"><span class="highlighted">test</span>.support.SaveSignals.save</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.script_helper.assert_python_failure" data-score="5"><span class="highlighted">test</span>.support.script_helper.assert_python_failure</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.script_helper.assert_python_ok" data-score="5"><span class="highlighted">test</span>.support.script_helper.assert_python_ok</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.script_helper.interpreter_requires_environment" data-score="5"><span class="highlighted">test</span>.support.script_helper.interpreter_requires_environment</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.script_helper.kill_python" data-score="5"><span class="highlighted">test</span>.support.script_helper.kill_python</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.script_helper.make_pkg" data-score="5"><span class="highlighted">test</span>.support.script_helper.make_pkg</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.script_helper.make_script" data-score="5"><span class="highlighted">test</span>.support.script_helper.make_script</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.script_helper.make_zip_pkg" data-score="5"><span class="highlighted">test</span>.support.script_helper.make_zip_pkg</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.script_helper.make_zip_script" data-score="5"><span class="highlighted">test</span>.support.script_helper.make_zip_script</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.script_helper.run_python_until_end" data-score="5"><span class="highlighted">test</span>.support.script_helper.run_python_until_end</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.script_helper.spawn_python" data-score="5"><span class="highlighted">test</span>.support.script_helper.spawn_python</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.set_memlimit" data-score="5"><span class="highlighted">test</span>.support.set_memlimit</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.setswitchinterval" data-score="5"><span class="highlighted">test</span>.support.setswitchinterval</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.SHORT_TIMEOUT" data-score="5"><span class="highlighted">test</span>.support.SHORT_TIMEOUT</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.skip_if_broken_multiprocessing_synchronize" data-score="5"><span class="highlighted">test</span>.support.skip_if_broken_multiprocessing_synchronize</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.sleeping_retry" data-score="5"><span class="highlighted">test</span>.support.sleeping_retry</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.SMALLEST" data-score="5"><span class="highlighted">test</span>.support.SMALLEST</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.SOCK_MAX_SIZE" data-score="5"><span class="highlighted">test</span>.support.SOCK_MAX_SIZE</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.socket_helper.bind_port" data-score="5"><span class="highlighted">test</span>.support.socket_helper.bind_port</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.socket_helper.bind_unix_socket" data-score="5"><span class="highlighted">test</span>.support.socket_helper.bind_unix_socket</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.socket_helper.find_unused_port" data-score="5"><span class="highlighted">test</span>.support.socket_helper.find_unused_port</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.socket_helper.IPV6_ENABLED" data-score="5"><span class="highlighted">test</span>.support.socket_helper.IPV6_ENABLED</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.socket_helper.skip_unless_bind_unix_socket" data-score="5"><span class="highlighted">test</span>.support.socket_helper.skip_unless_bind_unix_socket</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.socket_helper.transient_internet" data-score="5"><span class="highlighted">test</span>.support.socket_helper.transient_internet</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.sortdict" data-score="5"><span class="highlighted">test</span>.support.sortdict</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.SuppressCrashReport" data-score="5"><span class="highlighted">test</span>.support.SuppressCrashReport</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.swap_attr" data-score="5"><span class="highlighted">test</span>.support.swap_attr</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.swap_item" data-score="5"><span class="highlighted">test</span>.support.swap_item</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.system_must_validate_cert" data-score="5"><span class="highlighted">test</span>.support.system_must_validate_cert</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.thread_unsafe" data-score="5"><span class="highlighted">test</span>.support.thread_unsafe</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.threading_helper.catch_threading_exception" data-score="5"><span class="highlighted">test</span>.support.threading_helper.catch_threading_exception</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.threading_helper.join_thread" data-score="5"><span class="highlighted">test</span>.support.threading_helper.join_thread</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.threading_helper.reap_threads" data-score="5"><span class="highlighted">test</span>.support.threading_helper.reap_threads</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.threading_helper.run_concurrently" data-score="5"><span class="highlighted">test</span>.support.threading_helper.run_concurrently</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.threading_helper.start_threads" data-score="5"><span class="highlighted">test</span>.support.threading_helper.start_threads</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.threading_helper.threading_cleanup" data-score="5"><span class="highlighted">test</span>.support.threading_helper.threading_cleanup</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.threading_helper.threading_setup" data-score="5"><span class="highlighted">test</span>.support.threading_helper.threading_setup</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.threading_helper.wait_threads_exit" data-score="5"><span class="highlighted">test</span>.support.threading_helper.wait_threads_exit</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.unix_shell" data-score="5"><span class="highlighted">test</span>.support.unix_shell</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.verbose" data-score="5"><span class="highlighted">test</span>.support.verbose</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.wait_process" data-score="5"><span class="highlighted">test</span>.support.wait_process</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.warnings_helper.check_no_resource_warning" data-score="5"><span class="highlighted">test</span>.support.warnings_helper.check_no_resource_warning</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.warnings_helper.check_syntax_warning" data-score="5"><span class="highlighted">test</span>.support.warnings_helper.check_syntax_warning</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.warnings_helper.check_warnings" data-score="5"><span class="highlighted">test</span>.support.warnings_helper.check_warnings</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.warnings_helper.ignore_warnings" data-score="5"><span class="highlighted">test</span>.support.warnings_helper.ignore_warnings</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.warnings_helper.WarningsRecorder" data-score="5"><span class="highlighted">test</span>.support.warnings_helper.WarningsRecorder</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-object"><a href="library/test.html#test.support.with_pymalloc" data-score="5"><span class="highlighted">test</span>.support.with_pymalloc</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python)</span></li><li class="kind-text"><a href="c-api/none.html" data-score="5">The <code class="docutils literal notranslate"><span class="pre">None</span></code> Object</a><p class="context">...one Object
|
||
Note that the PyTypeObject for None is not directly exposed in the
|
||
Python/C API. Since None is a singleton, <span class="highlighted">test</span>ing for object identity (using
|
||
== in C) is sufficient. There is no PyNone_Check() function for the
|
||
same reason.
|
||
|
||
|
||
Py...</p></li><li class="kind-text"><a href="library/index.html" data-score="5">The Python Standard Library</a><p class="context">...on availability
|
||
|
||
|
||
Built-in Functions
|
||
Built-in Constants
|
||
Constants added by the site module
|
||
|
||
|
||
Built-in Types
|
||
Truth Value <span class="highlighted">Test</span>ing
|
||
Boolean Operations — and, or, not
|
||
Comparisons
|
||
Numeric Types — int, float, complex
|
||
Boolean Type - bool
|
||
Iterator T...</p></li><li class="kind-text"><a href="library/dialog.html" data-score="5">Tkinter Dialogs</a><p class="context">...aster, title=None)
|
||
A subclass of FileDialog that creates a dialog window for selecting an
|
||
existing file.
|
||
|
||
|
||
ok_command()
|
||
<span class="highlighted">Test</span> that a file is provided and that the selection indicates an
|
||
already existing file.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
class tkinter.filedialog.S...</p></li><li class="kind-text"><a href="c-api/type.html" data-score="5">Type Objects</a><p class="context">...gs.
|
||
|
||
|
||
|
||
|
||
|
||
int PyType_IS_GC(PyTypeObject *o)
|
||
Return true if the type object includes support for the cycle detector; this
|
||
<span class="highlighted">test</span>s the type flag Py_TPFLAGS_HAVE_GC.
|
||
|
||
|
||
|
||
|
||
int PyType_IsSubtype(PyTypeObject *a, PyTypeObject *b)
|
||
Part of the Stable A...</p></li><li class="kind-text"><a href="howto/unicode.html" data-score="5">Unicode HOWTO</a><p class="context">...using Unicode characters in identifiers:
|
||
répertoire = "/tmp/records.log"
|
||
with open(répertoire, "w") as f:
|
||
f.write("<span class="highlighted">test</span>\n")
|
||
|
||
|
||
If you can’t enter a particular character in your editor or want to
|
||
keep the source code ASCII-only for some...</p></li><li class="kind-text"><a href="c-api/unicode.html" data-score="5">Unicode Objects and Codecs</a><p class="context">...Unicode_Equal() function.
|
||
|
||
|
||
|
||
|
||
|
||
int PyUnicode_Equal(PyObject *a, PyObject *b)
|
||
Part of the Stable ABI since version 3.14.<span class="highlighted">Test</span> if two strings are equal:
|
||
|
||
Return 1 if a is equal to b.
|
||
Return 0 if a is not equal to b.
|
||
Set a TypeError exception...</p></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-discover-p" data-score="5">unit<span class="highlighted">test</span>-discover.--pattern</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-discover-s" data-score="5">unit<span class="highlighted">test</span>-discover.--start-directory</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-discover-t" data-score="5">unit<span class="highlighted">test</span>-discover.--top-level-directory</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-discover-v" data-score="5">unit<span class="highlighted">test</span>-discover.--verbose</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-discover-p" data-score="5">unit<span class="highlighted">test</span>-discover.-p</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-discover-s" data-score="5">unit<span class="highlighted">test</span>-discover.-s</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-discover-t" data-score="5">unit<span class="highlighted">test</span>-discover.-t</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-discover-v" data-score="5">unit<span class="highlighted">test</span>-discover.-v</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-b" data-score="5">unit<span class="highlighted">test</span>.--buffer</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-c" data-score="5">unit<span class="highlighted">test</span>.--catch</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-durations" data-score="5">unit<span class="highlighted">test</span>.--durations</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-f" data-score="5">unit<span class="highlighted">test</span>.--failfast</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-locals" data-score="5">unit<span class="highlighted">test</span>.--locals</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-b" data-score="5">unit<span class="highlighted">test</span>.-b</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-c" data-score="5">unit<span class="highlighted">test</span>.-c</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-f" data-score="5">unit<span class="highlighted">test</span>.-f</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#cmdoption-unittest-k" data-score="5">unit<span class="highlighted">test</span>.-k</a><span> (program option, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.addModuleCleanup" data-score="5">unit<span class="highlighted">test</span>.addModuleCleanup</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.doModuleCleanups" data-score="5">unit<span class="highlighted">test</span>.doModuleCleanups</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.enterModuleContext" data-score="5">unit<span class="highlighted">test</span>.enterModuleContext</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.expectedFailure" data-score="5">unit<span class="highlighted">test</span>.expectedFailure</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.installHandler" data-score="5">unit<span class="highlighted">test</span>.installHandler</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.IsolatedAsyncioTestCase.addAsyncCleanup" data-score="5">unit<span class="highlighted">test</span>.IsolatedAsyncio<span class="highlighted">Test</span>Case.addAsyncCleanup</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.IsolatedAsyncioTestCase.asyncSetUp" data-score="5">unit<span class="highlighted">test</span>.IsolatedAsyncio<span class="highlighted">Test</span>Case.asyncSetUp</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.IsolatedAsyncioTestCase.asyncTearDown" data-score="5">unit<span class="highlighted">test</span>.IsolatedAsyncio<span class="highlighted">Test</span>Case.asyncTearDown</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.IsolatedAsyncioTestCase.enterAsyncContext" data-score="5">unit<span class="highlighted">test</span>.IsolatedAsyncio<span class="highlighted">Test</span>Case.enterAsyncContext</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.IsolatedAsyncioTestCase.loop_factory" data-score="5">unit<span class="highlighted">test</span>.IsolatedAsyncio<span class="highlighted">Test</span>Case.loop_factory</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.IsolatedAsyncioTestCase.run" data-score="5">unit<span class="highlighted">test</span>.IsolatedAsyncio<span class="highlighted">Test</span>Case.run</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.main" data-score="5">unit<span class="highlighted">test</span>.main</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.ANY" data-score="5">unit<span class="highlighted">test</span>.mock.ANY</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.assert_any_await" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.assert_any_await</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.assert_awaited" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.assert_awaited</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.assert_awaited_once" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.assert_awaited_once</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.assert_awaited_once_with" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.assert_awaited_once_with</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.assert_awaited_with" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.assert_awaited_with</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.assert_has_awaits" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.assert_has_awaits</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.assert_not_awaited" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.assert_not_awaited</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.await_args" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.await_args</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.await_args_list" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.await_args_list</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.await_count" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.await_count</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.AsyncMock.reset_mock" data-score="5">unit<span class="highlighted">test</span>.mock.AsyncMock.reset_mock</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.call" data-score="5">unit<span class="highlighted">test</span>.mock.call</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.call.call_list" data-score="5">unit<span class="highlighted">test</span>.mock.call.call_list</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.create_autospec" data-score="5">unit<span class="highlighted">test</span>.mock.create_autospec</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.DEFAULT" data-score="5">unit<span class="highlighted">test</span>.mock.DEFAULT</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.FILTER_DIR" data-score="5">unit<span class="highlighted">test</span>.mock.FILTER_DIR</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.MagicMock" data-score="5">unit<span class="highlighted">test</span>.mock.MagicMock</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock" data-score="5">unit<span class="highlighted">test</span>.mock.Mock</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.__class__" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.__class__</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.__dir__" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.__dir__</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock._get_child_mock" data-score="5">unit<span class="highlighted">test</span>.mock.Mock._get_child_mock</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.assert_any_call" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.assert_any_call</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.assert_called" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.assert_called</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.assert_called_once" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.assert_called_once</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.assert_called_once_with" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.assert_called_once_with</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.assert_called_with" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.assert_called_with</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.assert_has_calls" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.assert_has_calls</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.assert_not_called" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.assert_not_called</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.attach_mock" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.attach_mock</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.call_args" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.call_args</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.call_args_list" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.call_args_list</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.call_count" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.call_count</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.called" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.called</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.configure_mock" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.configure_mock</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.method_calls" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.method_calls</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.mock_add_spec" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.mock_add_spec</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.mock_calls" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.mock_calls</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.reset_mock" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.reset_mock</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.return_value" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.return_value</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.Mock.side_effect" data-score="5">unit<span class="highlighted">test</span>.mock.Mock.side_effect</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.mock_open" data-score="5">unit<span class="highlighted">test</span>.mock.mock_open</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.NonCallableMagicMock" data-score="5">unit<span class="highlighted">test</span>.mock.NonCallableMagicMock</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.NonCallableMock" data-score="5">unit<span class="highlighted">test</span>.mock.NonCallableMock</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.patch" data-score="5">unit<span class="highlighted">test</span>.mock.patch</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.patch.dict" data-score="5">unit<span class="highlighted">test</span>.mock.patch.dict</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.patch.multiple" data-score="5">unit<span class="highlighted">test</span>.mock.patch.multiple</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.patch.object" data-score="5">unit<span class="highlighted">test</span>.mock.patch.object</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.patch.stopall" data-score="5">unit<span class="highlighted">test</span>.mock.patch.stopall</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.PropertyMock" data-score="5">unit<span class="highlighted">test</span>.mock.PropertyMock</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.seal" data-score="5">unit<span class="highlighted">test</span>.mock.seal</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.sentinel" data-score="5">unit<span class="highlighted">test</span>.mock.sentinel</a><span> (Python data, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.ThreadingMock" data-score="5">unit<span class="highlighted">test</span>.mock.ThreadingMock</a><span> (Python class, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.ThreadingMock.DEFAULT_TIMEOUT" data-score="5">unit<span class="highlighted">test</span>.mock.ThreadingMock.DEFAULT_TIMEOUT</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.ThreadingMock.wait_until_any_call_with" data-score="5">unit<span class="highlighted">test</span>.mock.ThreadingMock.wait_until_any_call_with</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.mock.html#unittest.mock.ThreadingMock.wait_until_called" data-score="5">unit<span class="highlighted">test</span>.mock.ThreadingMock.wait_until_called</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span>.mock</span></code> — mock object library)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.registerResult" data-score="5">unit<span class="highlighted">test</span>.registerResult</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.removeHandler" data-score="5">unit<span class="highlighted">test</span>.removeHandler</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.removeResult" data-score="5">unit<span class="highlighted">test</span>.removeResult</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.setUpModule" data-score="5">unit<span class="highlighted">test</span>.setUpModule</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.skip" data-score="5">unit<span class="highlighted">test</span>.skip</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.skipIf" data-score="5">unit<span class="highlighted">test</span>.skipIf</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.skipUnless" data-score="5">unit<span class="highlighted">test</span>.skipUnless</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.tearDownModule" data-score="5">unit<span class="highlighted">test</span>.tearDownModule</a><span> (Python function, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.addClassCleanup" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.addClassCleanup</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.addCleanup" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.addCleanup</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.addTypeEqualityFunc" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.addTypeEqualityFunc</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertAlmostEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertAlmostEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertCountEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertCountEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertDictEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertDictEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertEndsWith" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertEndsWith</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertFalse" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertFalse</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertGreater" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertGreater</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertGreaterEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertGreaterEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertHasAttr" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertHasAttr</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertIn" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertIn</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertIs" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertIs</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertIsInstance" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertIsInstance</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertIsNone" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertIsNone</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertIsNot" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertIsNot</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertIsNotNone" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertIsNotNone</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertIsSubclass" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertIsSubclass</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertLess" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertLess</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertLessEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertLessEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertListEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertListEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertLogs" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertLogs</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertMultiLineEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertMultiLineEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertNoLogs" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertNoLogs</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertNotAlmostEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertNotAlmostEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertNotEndsWith" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertNotEndsWith</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertNotEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertNotEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertNotHasAttr" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertNotHasAttr</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertNotIn" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertNotIn</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertNotIsInstance" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertNotIsInstance</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertNotIsSubclass" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertNotIsSubclass</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertNotRegex" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertNotRegex</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertNotStartsWith" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertNotStartsWith</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertRaises" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertRaises</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertRaisesRegex" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertRaisesRegex</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertRegex" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertRegex</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertSequenceEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertSequenceEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertSetEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertSetEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertStartsWith" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertStartsWith</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertTrue" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertTrue</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertTupleEqual" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertTupleEqual</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertWarns" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertWarns</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.assertWarnsRegex" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.assertWarnsRegex</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.debug" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.debug</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.doClassCleanups" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.doClassCleanups</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.doCleanups" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.doCleanups</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.enterClassContext" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.enterClassContext</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.enterContext" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.enterContext</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.fail" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.fail</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.failureException" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.failureException</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.id" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.id</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.longMessage" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.longMessage</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.maxDiff" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.maxDiff</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.output" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.output</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.records" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.records</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.run" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.run</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.setUp" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.setUp</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.setUpClass" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.setUpClass</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.shortDescription" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.shortDescription</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.tearDown" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.tearDown</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestCase.tearDownClass" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case.tearDownClass</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.discover" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.discover</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.errors" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.errors</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestLoader.suiteClass" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Loader.suiteClass</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.addDuration" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.addDuration</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.addError" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.addError</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.addExpectedFailure" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.addExpectedFailure</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.addFailure" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.addFailure</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.addSkip" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.addSkip</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.addSuccess" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.addSuccess</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.addUnexpectedSuccess" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.addUnexpectedSuccess</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.buffer" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.buffer</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.collectedDurations" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.collectedDurations</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.errors" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.errors</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.expectedFailures" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.expectedFailures</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.failfast" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.failfast</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.failures" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.failures</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.shouldStop" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.shouldStop</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.skipped" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.skipped</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.stop" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.stop</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.tb_locals" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.tb_locals</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.unexpectedSuccesses" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.unexpectedSuccesses</a><span> (Python attribute, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestResult.wasSuccessful" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Result.wasSuccessful</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestSuite.__iter__" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Suite.__iter__</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestSuite.debug" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Suite.debug</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TestSuite.run" data-score="5">unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Suite.run</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TextTestRunner._makeResult" data-score="5">unit<span class="highlighted">test</span>.Text<span class="highlighted">Test</span>Runner._makeResult</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-object"><a href="library/unittest.html#unittest.TextTestRunner.run" data-score="5">unit<span class="highlighted">test</span>.Text<span class="highlighted">Test</span>Runner.run</a><span> (Python method, in <code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework)</span></li><li class="kind-text"><a href="c-api/weakref.html" data-score="5">Weak Reference Objects</a><p class="context">...version 3.13, will be removed in version 3.15: Use PyWeakref_GetRef() instead.
|
||
|
||
|
||
|
||
|
||
|
||
int PyWeakref_IsDead(PyObject *ref)
|
||
<span class="highlighted">Test</span> if the weak reference ref is dead. Returns 1 if the reference is
|
||
dead, 0 if it is alive, and -1 with an error set i...</p></li><li class="kind-text"><a href="whatsnew/index.html" data-score="5">What’s New in Python</a><p class="context">...odules And APIs
|
||
New Deprecations
|
||
CPython Bytecode Changes
|
||
C API Changes
|
||
Build Changes
|
||
Porting to Python 3.13
|
||
Regression <span class="highlighted">Test</span> Changes
|
||
|
||
|
||
What’s New In Python 3.12
|
||
Summary – Release highlights
|
||
New Features
|
||
New Features Related to Type Hints
|
||
Ot...</p></li><li class="kind-text"><a href="whatsnew/2.0.html" data-score="5">What’s New in Python 2.0</a><p class="context">...causes the Python compiler to
|
||
interpret all string literals as Unicode string literals. This is intended to be
|
||
used in <span class="highlighted">test</span>ing and future-proofing your Python code, since some future version
|
||
of Python may drop support for 8-bit strings and...</p></li><li class="kind-text"><a href="whatsnew/2.1.html" data-score="5">What’s New in Python 2.1</a><p class="context">...des a Tk-based interactive help browser. pydoc
|
||
quickly becomes addictive; try it out!
|
||
|
||
Two different modules for unit <span class="highlighted">test</span>ing were added to the standard library.
|
||
The doc<span class="highlighted">test</span> module, contributed by Tim Peters, provides a <span class="highlighted">test</span>ing
|
||
framework...</p></li><li class="kind-text"><a href="whatsnew/2.2.html" data-score="5">What’s New in Python 2.2</a><p class="context">...s C(object):
|
||
... __slots__ = ('template', 'name')
|
||
...
|
||
>>> obj = C()
|
||
>>> print obj.template
|
||
None
|
||
>>> obj.template = '<span class="highlighted">Test</span>'
|
||
>>> print obj.template
|
||
<span class="highlighted">Test</span>
|
||
>>> obj.newattr = None
|
||
Traceback (most recent call last):
|
||
File "<stdin>", line 1, in...</p></li><li class="kind-text"><a href="whatsnew/2.3.html" data-score="5">What’s New in Python 2.3</a><p class="context">...nd return it.
|
||
However, for a moderately complicated generator, writing a corresponding class
|
||
would be much messier. Lib/<span class="highlighted">test</span>/<span class="highlighted">test</span>_generators.py contains a number of
|
||
more interesting examples. The simplest one implements an in-order travers...</p></li><li class="kind-text"><a href="whatsnew/2.4.html" data-score="5">What’s New in Python 2.4</a><p class="context">...re as two new built-in types,
|
||
set(iterable) and frozenset(iterable). They provide high speed
|
||
operations for membership <span class="highlighted">test</span>ing, for eliminating duplicates from sequences,
|
||
and for mathematical operations like unions, intersections, differen...</p></li><li class="kind-text"><a href="whatsnew/2.5.html" data-score="5">What’s New in Python 2.5</a><p class="context">...lly:
|
||
final-block
|
||
|
||
|
||
The code in block-1 is executed. If the code raises an exception, the various
|
||
except blocks are <span class="highlighted">test</span>ed: if the exception is of class
|
||
Exception1, handler-1 is executed; otherwise if it’s of class
|
||
Exception2, handler-2...</p></li><li class="kind-text"><a href="whatsnew/2.6.html" data-score="5">What’s New in Python 2.6</a><p class="context">...6, 67]) returns the
|
||
12-byte string representing the str() of the list.
|
||
The primary use of bytes in 2.6 will be to write <span class="highlighted">test</span>s of
|
||
object type such as isinstance(x, bytes). This will help the 2to3
|
||
converter, which can’t tell whether 2.x code...</p></li><li class="kind-text"><a href="whatsnew/2.7.html" data-score="5">What’s New in Python 2.7</a><p class="context">...bers and for the Decimal class.
|
||
There are some useful additions to the standard library, such as a
|
||
greatly enhanced unit<span class="highlighted">test</span> module, the argparse module
|
||
for parsing command-line options, convenient OrderedDict
|
||
and Counter classes in the col...</p></li><li class="kind-text"><a href="whatsnew/3.0.html" data-score="5">What’s New In Python 3.0</a><p class="context">...would just be
|
||
wasteful).
|
||
If the input sequences are not of equal length, map() will
|
||
stop at the termination of the shor<span class="highlighted">test</span> of the sequences. For full
|
||
compatibility with map() from Python 2.x, also wrap the sequences in
|
||
itertools.zip_longe...</p></li><li class="kind-text"><a href="whatsnew/3.1.html" data-score="5">What’s New In Python 3.1</a><p class="context">...(1123, -2)
|
||
1100
|
||
|
||
|
||
(Contributed by Mark Dickinson; bpo-4707.)
|
||
|
||
Python now uses David Gay’s algorithm for finding the shor<span class="highlighted">test</span> floating-point
|
||
representation that doesn’t change its value. This should help
|
||
mitigate some of the confusion surro...</p></li><li class="kind-text"><a href="whatsnew/3.10.html" data-score="5">What’s New In Python 3.10</a><p class="context">...he last case statement.
|
||
A wildcard can be used in more complex patterns, such as ('error', code, _).
|
||
For example:
|
||
match <span class="highlighted">test</span>_variable:
|
||
case ('warning', code, 40):
|
||
print("A warning has been received.")
|
||
case ('error', code, _)...</p></li><li class="kind-text"><a href="whatsnew/3.11.html" data-score="5">What’s New In Python 3.11</a><p class="context">...edata
|
||
|
||
The Unicode database has been updated to version 14.0.0.
|
||
(Contributed by Benjamin Peterson in bpo-45190).
|
||
|
||
|
||
|
||
unit<span class="highlighted">test</span>
|
||
|
||
Added methods enterContext() and
|
||
enterClassContext() of class
|
||
<span class="highlighted">Test</span>Case, method
|
||
enterAsyncContext() of
|
||
class Isolat...</p></li><li class="kind-text"><a href="whatsnew/3.12.html" data-score="5">What’s New In Python 3.12</a><p class="context">...in the activated
|
||
virtual environment.
|
||
The asynchat, asyncore, and imp modules have been
|
||
removed, along with several unit<span class="highlighted">test</span>.<span class="highlighted">Test</span>Case
|
||
method aliases.
|
||
|
||
|
||
|
||
New Features
|
||
|
||
PEP 695: Type Parameter Syntax
|
||
Generic classes and functions under PEP 48...</p></li><li class="kind-text"><a href="whatsnew/3.14.html" data-score="5">What’s new in Python 3.14</a><p class="context">...see the changelog.
|
||
|
||
See also
|
||
PEP 745 – Python 3.14 release schedule
|
||
|
||
|
||
Summary – Release highlights
|
||
Python 3.14 is the la<span class="highlighted">test</span> stable release of the Python programming
|
||
language, with a mix of changes to the language, the implementation,
|
||
and t...</p></li><li class="kind-text"><a href="whatsnew/3.2.html" data-score="5">What’s New In Python 3.2</a><p class="context">...e.ArgumentParser(
|
||
description = 'Manage servers', # main description for help
|
||
epilog = '<span class="highlighted">Test</span>ed on Solaris and Linux') # displayed after help
|
||
parser.add_argument('action', # argument name...</p></li><li class="kind-text"><a href="whatsnew/3.3.html" data-score="5">What’s New In Python 3.3</a><p class="context">...address (high-level objects representing IP addresses and masks)
|
||
lzma (compress data using the XZ / LZMA algorithm)
|
||
unit<span class="highlighted">test</span>.mock (replace parts of your system under <span class="highlighted">test</span> with mock objects)
|
||
venv (Python virtual environments, as in the
|
||
popul...</p></li><li class="kind-text"><a href="whatsnew/3.4.html" data-score="5">What’s New In Python 3.4</a><p class="context">...included
|
||
with Python 3.4.0 is pip 1.5.4, and future 3.4.x maintenance releases
|
||
will update the bundled version to the la<span class="highlighted">test</span> version of pip that is
|
||
available at the time of creating the release candidate.
|
||
By default, the commands pipX and p...</p></li><li class="kind-text"><a href="whatsnew/3.6.html" data-score="5">What’s New In Python 3.6</a><p class="context">...233329 to debug malloc/realloc.
|
||
Data at p: 1a 2b 30 00
|
||
|
||
Memory block allocated at (most recent call first):
|
||
File "<span class="highlighted">test</span>/<span class="highlighted">test</span>_bytes.py", line 323
|
||
File "unit<span class="highlighted">test</span>/case.py", line 600
|
||
File "unit<span class="highlighted">test</span>/case.py", line 648
|
||
File "unit<span class="highlighted">test</span>/s...</p></li><li class="kind-text"><a href="whatsnew/3.7.html" data-score="5">What’s New In Python 3.7</a><p class="context">...recated application
|
||
configuration settings).
|
||
DeprecationWarning: displayed by default only in __main__ and when
|
||
running <span class="highlighted">test</span>s, recommended for warnings intended to be seen by other Python
|
||
developers where a version upgrade may result in cha...</p></li><li class="kind-text"><a href="whatsnew/3.8.html" data-score="5">What’s New In Python 3.8</a><p class="context">...ed <= 10)")
|
||
|
||
|
||
A similar benefit arises during regular expression matching where
|
||
match objects are needed twice, once to <span class="highlighted">test</span> whether a match
|
||
occurred and another to extract a subgroup:
|
||
discount = 0.0
|
||
if (mo := re.search(r'(\d+)% discount',...</p></li><li class="kind-text"><a href="whatsnew/3.9.html" data-score="5">What’s New In Python 3.9</a><p class="context">...g collections.Mapping instead of
|
||
collections.abc.Mapping emits a DeprecationWarning since Python
|
||
3.3, released in 2012.
|
||
<span class="highlighted">Test</span> your application with the -W default command-line option to see
|
||
DeprecationWarning and PendingDeprecationWarning, o...</p></li><li class="kind-index"><a href="library/test.html#module-test" data-score="100"><code class="xref py py-mod docutils literal notranslate"><span class="pre"><span class="highlighted">test</span></span></code> — Regression <span class="highlighted">test</span>s package for Python</a><p class="context"><span class="highlighted">test</span> — Regression <span class="highlighted">test</span>s package for Python
|
||
|
||
Note
|
||
The <span class="highlighted">test</span> package is meant for internal use by Python only. It is
|
||
documented for the benefit of the core developers of Python. Any use of
|
||
this package outside of Python’s standard library is...</p></li><li class="kind-index"><a href="reference/expressions.html#index-80" data-score="100"><span class="section-number">6. </span>Expressions</a></li><li class="kind-index"><a href="reference/expressions.html#index-79" data-score="100"><span class="section-number">6. </span>Expressions</a><p class="context">...The operator not in is defined to have the inverse truth value of
|
||
in.</p></li><li class="kind-index"><a href="library/tarfile.html#cmdoption-tarfile-test" data-score="67"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tarfile</span></code> — Read and write tar archive files</a><p class="context">--<span class="highlighted">test</span> <tarfile></p></li><li class="kind-index"><a href="library/zipfile.html#cmdoption-zipfile-test" data-score="67"><code class="xref py py-mod docutils literal notranslate"><span class="pre">zipfile</span></code> — Work with ZIP archives</a><p class="context">--<span class="highlighted">test</span> <zipfile></p></li><li class="kind-index"><a href="library/doctest.html#module-doctest" data-score="57"><code class="xref py py-mod docutils literal notranslate"><span class="pre">doc<span class="highlighted">test</span></span></code> — <span class="highlighted">Test</span> interactive Python examples</a><p class="context">doc<span class="highlighted">test</span> — <span class="highlighted">Test</span> interactive Python examples
|
||
Source code: Lib/doc<span class="highlighted">test</span>.py
|
||
|
||
The doc<span class="highlighted">test</span> module searches for pieces of text that look like interactive
|
||
Python sessions, and then executes those sessions to verify that they work
|
||
exactly as shown....</p></li><li class="kind-index"><a href="library/unittest.html#module-unittest" data-score="50"><code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework</a><p class="context">unit<span class="highlighted">test</span> — Unit <span class="highlighted">test</span>ing framework
|
||
Source code: Lib/unit<span class="highlighted">test</span>/__init__.py
|
||
|
||
(If you are already familiar with the basic concepts of <span class="highlighted">test</span>ing, you might want
|
||
to skip to the list of assert methods.)
|
||
The unit<span class="highlighted">test</span> unit <span class="highlighted">test</span>ing framework was origin...</p></li><li class="kind-index"><a href="library/unittest.html#unittest.SkipTest" data-score="50"><code class="xref py py-mod docutils literal notranslate"><span class="pre">unit<span class="highlighted">test</span></span></code> — Unit <span class="highlighted">test</span>ing framework</a><p class="context">unit<span class="highlighted">test</span> — Unit <span class="highlighted">test</span>ing framework
|
||
Source code: Lib/unit<span class="highlighted">test</span>/__init__.py
|
||
|
||
(If you are already familiar with the basic concepts of <span class="highlighted">test</span>ing, you might want
|
||
to skip to the list of assert methods.)
|
||
The unit<span class="highlighted">test</span> unit <span class="highlighted">test</span>ing fram...</p></li></ul></div>
|
||
|
||
|
||
<div class="clearer"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="sphinxsidebar" role="navigation" aria-label="Main">
|
||
<div class="sphinxsidebarwrapper">
|
||
</div>
|
||
<div id="sidebarbutton" title="Collapse sidebar">
|
||
<span>«</span>
|
||
</div>
|
||
|
||
</div>
|
||
<div class="clearer"></div>
|
||
</div>
|
||
<div class="related" role="navigation" aria-label="Related">
|
||
<h3>Navigation</h3>
|
||
<ul>
|
||
<li class="right" style="margin-right: 10px">
|
||
<a href="genindex.html" title="General Index">index</a></li>
|
||
<li class="right">
|
||
<a href="py-modindex.html" title="Python Module Index">modules</a> |</li>
|
||
|
||
<li><img src="_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>
|
||
<li><a href="https://www.python.org/">Python</a> »</li>
|
||
<li class="switchers">
|
||
<div class="language_switcher_placeholder"><select class="language-select" aria-label="Language"><option value="el">Greek | Ελληνικά</option><option value="en">English</option><option value="es">Spanish | español</option><option value="fr">French | français</option><option value="it">Italian | italiano</option><option value="ja">Japanese | 日本語</option><option value="ko">Korean | 한국어</option><option value="pl">Polish | polski</option><option value="pt-br">Brazilian Portuguese | Português brasileiro</option><option value="ro">Romanian | Românește</option><option value="tr">Turkish | Türkçe</option><option value="zh-cn">Simplified Chinese | 简体中文</option><option value="zh-tw">Traditional Chinese | 繁體中文</option></select></div>
|
||
<div class="version_switcher_placeholder"><select class="version-select" aria-label="Python version"><option value="3.15">dev (3.15)</option><option value="3.14">3.14.3</option><option value="3.13">3.13</option><option value="3.12">3.12</option><option value="3.11">3.11</option><option value="3.10">3.10</option><option value="3.9">3.9</option><option value="3.8">3.8</option><option value="3.7">3.7</option><option value="3.6">3.6</option><option value="3.5">3.5</option><option value="3.4">3.4</option><option value="3.3">3.3</option><option value="3.2">3.2</option><option value="3.1">3.1</option><option value="3.0">3.0</option><option value="2.7">2.7</option><option value="2.6">2.6</option></select></div>
|
||
</li>
|
||
<li>
|
||
|
||
</li>
|
||
<li id="cpython-language-and-version">
|
||
<a href="index.html">3.14.3 Documentation</a> »
|
||
</li>
|
||
|
||
<li class="nav-item nav-item-this"><a href="">Search</a></li>
|
||
<li class="right">
|
||
<label class="theme-selector-label">
|
||
Theme
|
||
<select class="theme-selector" oninput="activateTheme(this.value)">
|
||
<option value="auto" selected="">Auto</option>
|
||
<option value="light">Light</option>
|
||
<option value="dark">Dark</option>
|
||
</select>
|
||
</label> |</li>
|
||
|
||
</ul>
|
||
</div>
|
||
<div class="footer">
|
||
© <a href="copyright.html">Copyright</a> 2001 Python Software Foundation.
|
||
<br>
|
||
This page is licensed under the Python Software Foundation License Version 2.
|
||
<br>
|
||
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
|
||
<br>
|
||
|
||
See <a href="/license.html">History and License</a> for more information.<br>
|
||
|
||
|
||
<br>
|
||
|
||
The Python Software Foundation is a non-profit corporation.
|
||
<a href="https://www.python.org/psf/donations/">Please donate.</a>
|
||
<br>
|
||
<br>
|
||
Last updated on Feb 19, 2026 (06:48 UTC).
|
||
|
||
<a href="/bugs.html">Found a bug</a>?
|
||
|
||
<br>
|
||
|
||
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
|
||
</div>
|
||
|
||
<script type="text/javascript" src="_static/switchers.js"></script>
|
||
|
||
<protonpass-root-7249 data-protonpass-role="root" data-protonpass-theme="os"></protonpass-root-7249></body> |