diff options
author | deshevoy <deshevoy@yandex-team.ru> | 2022-02-10 16:46:56 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:56 +0300 |
commit | e988f30484abe5fdeedcc7a5d3c226c01a21800c (patch) | |
tree | 0a217b173aabb57b7e51f8a169989b1a3e0309fe /contrib/python/pytest/py2/pytest.py | |
parent | 33ee501c05d3f24036ae89766a858930ae66c548 (diff) | |
download | ydb-e988f30484abe5fdeedcc7a5d3c226c01a21800c.tar.gz |
Restoring authorship annotation for <deshevoy@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/pytest/py2/pytest.py')
-rw-r--r-- | contrib/python/pytest/py2/pytest.py | 188 |
1 files changed, 94 insertions, 94 deletions
diff --git a/contrib/python/pytest/py2/pytest.py b/contrib/python/pytest/py2/pytest.py index ccc77b476f..4f1e440119 100644 --- a/contrib/python/pytest/py2/pytest.py +++ b/contrib/python/pytest/py2/pytest.py @@ -1,107 +1,107 @@ # -*- coding: utf-8 -*- -# PYTHON_ARGCOMPLETE_OK -""" -pytest: unit and functional testing with Python. -""" -# else we are imported -from _pytest import __version__ -from _pytest.assertion import register_assert_rewrite -from _pytest.config import cmdline -from _pytest.config import hookimpl -from _pytest.config import hookspec -from _pytest.config import main -from _pytest.config import UsageError -from _pytest.debugging import pytestPDB as __pytestPDB -from _pytest.fixtures import fillfixtures as _fillfuncargs -from _pytest.fixtures import fixture -from _pytest.fixtures import yield_fixture -from _pytest.freeze_support import freeze_includes -from _pytest.main import Session -from _pytest.mark import MARK_GEN as mark -from _pytest.mark import param -from _pytest.nodes import Collector -from _pytest.nodes import File -from _pytest.nodes import Item -from _pytest.outcomes import exit -from _pytest.outcomes import fail -from _pytest.outcomes import importorskip -from _pytest.outcomes import skip -from _pytest.outcomes import xfail -from _pytest.python import Class -from _pytest.python import Function -from _pytest.python import Instance -from _pytest.python import Module -from _pytest.python import Package -from _pytest.python_api import approx -from _pytest.python_api import raises -from _pytest.recwarn import deprecated_call -from _pytest.recwarn import warns +# PYTHON_ARGCOMPLETE_OK +""" +pytest: unit and functional testing with Python. +""" +# else we are imported +from _pytest import __version__ +from _pytest.assertion import register_assert_rewrite +from _pytest.config import cmdline +from _pytest.config import hookimpl +from _pytest.config import hookspec +from _pytest.config import main +from _pytest.config import UsageError +from _pytest.debugging import pytestPDB as __pytestPDB +from _pytest.fixtures import fillfixtures as _fillfuncargs +from _pytest.fixtures import fixture +from _pytest.fixtures import yield_fixture +from _pytest.freeze_support import freeze_includes +from _pytest.main import Session +from _pytest.mark import MARK_GEN as mark +from _pytest.mark import param +from _pytest.nodes import Collector +from _pytest.nodes import File +from _pytest.nodes import Item +from _pytest.outcomes import exit +from _pytest.outcomes import fail +from _pytest.outcomes import importorskip +from _pytest.outcomes import skip +from _pytest.outcomes import xfail +from _pytest.python import Class +from _pytest.python import Function +from _pytest.python import Instance +from _pytest.python import Module +from _pytest.python import Package +from _pytest.python_api import approx +from _pytest.python_api import raises +from _pytest.recwarn import deprecated_call +from _pytest.recwarn import warns from _pytest.warning_types import PytestAssertRewriteWarning from _pytest.warning_types import PytestCacheWarning from _pytest.warning_types import PytestCollectionWarning from _pytest.warning_types import PytestConfigWarning -from _pytest.warning_types import PytestDeprecationWarning -from _pytest.warning_types import PytestExperimentalApiWarning +from _pytest.warning_types import PytestDeprecationWarning +from _pytest.warning_types import PytestExperimentalApiWarning from _pytest.warning_types import PytestUnhandledCoroutineWarning from _pytest.warning_types import PytestUnknownMarkWarning -from _pytest.warning_types import PytestWarning -from _pytest.warning_types import RemovedInPytest4Warning - -set_trace = __pytestPDB.set_trace - -__all__ = [ - "__version__", - "_fillfuncargs", - "approx", - "Class", - "cmdline", - "Collector", - "deprecated_call", - "exit", - "fail", - "File", - "fixture", - "freeze_includes", - "Function", - "hookimpl", - "hookspec", - "importorskip", - "Instance", - "Item", - "main", - "mark", - "Module", - "Package", - "param", +from _pytest.warning_types import PytestWarning +from _pytest.warning_types import RemovedInPytest4Warning + +set_trace = __pytestPDB.set_trace + +__all__ = [ + "__version__", + "_fillfuncargs", + "approx", + "Class", + "cmdline", + "Collector", + "deprecated_call", + "exit", + "fail", + "File", + "fixture", + "freeze_includes", + "Function", + "hookimpl", + "hookspec", + "importorskip", + "Instance", + "Item", + "main", + "mark", + "Module", + "Package", + "param", "PytestAssertRewriteWarning", "PytestCacheWarning", "PytestCollectionWarning", "PytestConfigWarning", - "PytestDeprecationWarning", - "PytestExperimentalApiWarning", + "PytestDeprecationWarning", + "PytestExperimentalApiWarning", "PytestUnhandledCoroutineWarning", "PytestUnknownMarkWarning", - "PytestWarning", - "raises", - "register_assert_rewrite", - "RemovedInPytest4Warning", - "Session", - "set_trace", - "skip", - "UsageError", - "warns", - "xfail", - "yield_fixture", -] - -if __name__ == "__main__": - # if run as a script or by 'python -m pytest' - # we trigger the below "else" condition by the following import - import pytest - - raise SystemExit(pytest.main()) -else: - - from _pytest.compat import _setup_collect_fakemodule - - _setup_collect_fakemodule() + "PytestWarning", + "raises", + "register_assert_rewrite", + "RemovedInPytest4Warning", + "Session", + "set_trace", + "skip", + "UsageError", + "warns", + "xfail", + "yield_fixture", +] + +if __name__ == "__main__": + # if run as a script or by 'python -m pytest' + # we trigger the below "else" condition by the following import + import pytest + + raise SystemExit(pytest.main()) +else: + + from _pytest.compat import _setup_collect_fakemodule + + _setup_collect_fakemodule() |