aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/pytest
diff options
context:
space:
mode:
authornik-bes <nik-bes@yandex-team.com>2023-02-22 02:25:27 +0300
committernik-bes <nik-bes@yandex-team.com>2023-02-22 02:25:27 +0300
commit7500e5e927a68c22a2b499b1793da833d22baecd (patch)
treee1e998d2d1ded72a9534889970886120f032b887 /library/python/pytest
parent30a18749b20f928c6c3af0d0a15cd48ab0a7569e (diff)
downloadydb-7500e5e927a68c22a2b499b1793da833d22baecd.tar.gz
fix pyrest.mark.trylast in ya,py
Diffstat (limited to 'library/python/pytest')
-rw-r--r--library/python/pytest/plugins/ya.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/python/pytest/plugins/ya.py b/library/python/pytest/plugins/ya.py
index de79dbe735..1129609c7c 100644
--- a/library/python/pytest/plugins/ya.py
+++ b/library/python/pytest/plugins/ya.py
@@ -426,7 +426,7 @@ def pytest_deselected(items):
config.ya_trace_reporter.on_finish_test_class(deselected_item)
-@pytest.mark.trylast
+@pytest.hookimpl(trylast=True)
def pytest_collection_modifyitems(items, config):
def filter_items(filters):