summaryrefslogtreecommitdiff
path: root/logilab/common/pytest.py
diff options
context:
space:
mode:
Diffstat (limited to 'logilab/common/pytest.py')
-rw-r--r--logilab/common/pytest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/logilab/common/pytest.py b/logilab/common/pytest.py
index 5c8a69b..88e22f9 100644
--- a/logilab/common/pytest.py
+++ b/logilab/common/pytest.py
@@ -116,7 +116,7 @@ from unittest.suite import TestSuite
from typing import Callable, Any, Optional, List, Tuple, Generator, Dict
-from logilab.common.deprecation import deprecated
+from logilab.common.deprecation import callable_deprecated
from logilab.common.fileutils import abspath_listdir
from logilab.common import textutils
from logilab.common import testlib, STD_BLACKLIST
@@ -702,7 +702,7 @@ def parseargs(parser):
return options, explicitfile
-@deprecated("[logilab-common 1.3] logilab-pytest is deprecated, use another test runner")
+@callable_deprecated("[logilab-common 1.3] logilab-pytest is deprecated, use another test runner")
def run():
parser = make_parser()
rootdir, testercls = project_root(parser)