python_code stringlengths 0 108k |
|---|
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
Project-wide **typing module** unit tests.
This submodule unit tests the public API of the private
:mod:`beartype._util.mod.lib.ut... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Callable wrapper utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util.utilfunc.uti... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype callable code object utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype callable source code file utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype.... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Callable creation utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util.utilfunc.u... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
Project-wide **callable tester utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Call stack utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util.utilfunc.utilfunc... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
Project-wide **callable tester utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype callable source code utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._uti... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Callable scope utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util.utilfunc.util... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
:pep:`484`-compliant **callable utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Callable argument getter utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util.func... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Callable argument iterator utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util.ut... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Callable argument tester utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._util.func... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype-generated wrapper function utility unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype API unit tests.**
This submodule unit tests the public API of the :mod:`beartype` package itself
as implemented by the... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype typing API attribute** unit tests.
This submodule unit tests that the :mod:`beartype.typing` submodule publishes
the e... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
Project-wide **PEP-agnostic type hint conversion utility unit tests.**
This submodule unit tests the public API of the private
:m... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
Project-wide **PEP-agnostic type hint conversion utility unit tests.**
This submodule unit tests the public API of the private
:m... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator PEP-compliant code wrapper scope utility unit tests.**
This submodule unit tests the public API of the priva... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator PEP-compliant type-checking code generator unit tests.**
This submodule unit tests the public API of the pri... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype Decidedly Object-Oriented Runtime-checking (DOOR) type-checking unit
tests.**
This submodule unit tests the subset of ... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype metadata API unit tests.**
This submodule unit tests the public API of the :mod:`beartype.meta` submodule.
'''
# ........ |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype cave API unit tests.**
This submodule unit tests the public API of the :mod:`beartype.cave` submodule.
'''
# ............ |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype validator text utility unit tests.**
This submodule unit tests the private
:mod:`beartype.vale._util._valeutiltext` sub... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype validator unit tests.**
This submodule unit tests the private :mod:`beartype.vale._core._valecore`
submodule.
'''
# ..... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype validator unit tests.**
This submodule unit tests the private :mod:`beartype.vale._core._valecore`
submodule.
'''
# ..... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype code-based operator data validation unit tests.**
This submodule unit tests the subset of the public API of the
:mod:`b... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype code-based object data validation unit tests.**
This submodule unit tests the subset of the public API of the
:mod:`bea... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype code-based type data validation unit tests.**
This submodule unit tests the subset of the public API of the
:mod:`beart... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype callable-based data validation unit tests.**
This submodule unit tests the subset of the public API of the
:mod:`beart... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype** :pep:`563` **unit tests.**
This submodule unit tests :pep:`563` support provided by the
:func:`beartype.peps` submod... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype** :pep:`544` **optimization layer unit tests.**
This submodule unit tests both the public *and* private API of the priv... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype configuration unit tests.**
This submodule unit tests the subset of the public API of the :mod:`beartype`
package defi... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
:mod:`pytest` **DOOR test plugin** (i.e., early-time configuration guaranteed to
be run by :mod:`pytest` *after* passed command-l... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype Decidedly Object-Oriented Runtime-checking (DOOR) API object-oriented
unit tests.**
This submodule unit tests the subs... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype Decidedly Object-Oriented Runtime-checking (DOOR) API procedural
unit tests.**
This submodule unit tests the subset of... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype Decidedly Object-Oriented Runtime-checking (DOOR) API procedural
unit tests.**
This submodule unit tests the subset of... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator dataclass unit tests.**
This submodule unit tests the :func:`beartype._check.checkcall` submodule.
'''
# ..... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator configuration unit tests.**
This submodule unit tests high-level functionality of the
:func:`beartype.bearty... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator wrapper function unit tests.**
This submodule unit tests high-level functionality of type-checking wrapper
f... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator type hint-agnostic unit tests.**
This submodule unit tests high-level functionality of the
:func:`beartype.b... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator noop unit tests.**
This submodule unit tests edge cases of the :func:`beartype.beartype` decorator
efficientl... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator parameter kind unit tests.**
This submodule unit tests the :func:`beartype.beartype` decorator with respect
a... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator PEP-noncompliant type hint unit tests.**
This submodule unit tests the :func:`beartype.beartype` decorator w... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator mypy-compliant type hint unit tests.**
This submodule unit tests the :func:`beartype.beartype` decorator wit... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
Beartype decorator :pep:`484`- and :pep:`585`-compliant type hint unit tests.
This submodule unit tests the :func:`beartype.beart... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype** :pep:`589` **unit tests.**
This submodule unit tests :pep:`589` support implemented in the
:func:`beartype.beartype` ... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype** `PEP 561`_ **unit tests.**
This submodule unit tests `PEP 561`_ support implemented in the :mod:`beartype`
package.
... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype** :pep:`593` **unit tests.**
This submodule unit tests :pep:`593` support implemented in the
:func:`beartype.beartype` ... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype** :pep:`544` **unit tests.**
This submodule unit tests :pep:`544` support implemented in the
:func:`beartype.beartype` ... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype** :pep:`577` **unit tests.**
This submodule unit tests :pep:`577` support implemented in the
:func:`beartype.beartype`... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype** `PEP 585`_ **unit tests.**
This submodule unit tests `PEP 585`_ support implemented in the
:func:`beartype.beartype` ... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator forward reference unit tests.**
This submodule unit tests the :func:`beartype.beartype` decorator with respe... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
Beartype decorator :pep:`484`-compliant type hint unit tests.
This submodule unit tests the :func:`beartype.beartype` decorator w... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype error-handling string munging unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._de... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype main error-handling unit tests.**
This submodule unit tests the public API of the private
:mod:`beartype._decor._error... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator exception unit tests.**
This submodule unit tests the :func:`beartype.beartype` decorator with respect
to ex... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartypistry unit tests.**
This submodule unit tests the
:attr:`beartype._decor._cache.cachetype.bear_typistry` singleton.
'''
... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype decorator type hint code generation unit tests.**
This submodule unit tests the :func:`beartype.beartype` decorator wi... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype type hint sign set unit tests.**
This submodule unit tests the public API of the public
:mod:`beartype._data.hint.pep.... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
Project-wide **generic types data** submodule.
This submodule predefines low-level class constants exercising known edge
cases on... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype forward reference data submodule.**
This submodule exercises **forward reference type hints** (i.e., strings whose
valu... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype type hints data-driven testing submodule.**
This submodule predefines low-level global constants exercising known edge... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
**Beartype PEP-compliant type hints test data.**
This submodule predefines low-level global constants whose values are
PEP-compli... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
Project-wide :pep:`593`-compliant **type hint test data.**
'''
# ....................{ IMPORTS }........... |
#!/usr/bin/env python3
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2022 Beartype authors.
# See "LICENSE" for further details.
'''
Project-wide :pep:`544`-compliant **type hint test data.**
'''
# ....................{ TODO }......... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.