summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Laxalde <denis.laxalde@logilab.fr>2016-10-03 09:23:44 +0200
committerDenis Laxalde <denis.laxalde@logilab.fr>2016-10-03 09:23:44 +0200
commita98eab8a863cecfad72b981307b43ee44d1f9f3a (patch)
treefcffc5a612698f37151bc1a8172b979f6e171252
parent0d08816540360026a51d89bb34b3c5f842b6f6de (diff)
downloadlogilab-common-a98eab8a863cecfad72b981307b43ee44d1f9f3a.tar.gz
Deprecate logilab-pytest
-rw-r--r--ChangeLog4
-rw-r--r--README1
-rw-r--r--logilab/common/pytest.py2
3 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f5723c..95c96f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,8 +3,8 @@ ChangeLog for logilab.common
2016-10-03 -- 1.3.0
- * pytest: executable renamed as logilab-pytest to prevent conflict with
- pytest provided by http://pytest.org/
+ * pytest: executable deprecated and renamed as logilab-pytest to prevent
+ conflict with pytest provided by http://pytest.org/
2016-03-15 -- 1.2.0
diff --git a/README b/README
index cb2f42e..21cbe78 100644
--- a/README
+++ b/README
@@ -125,7 +125,6 @@ Those `logilab.common` modules will much probably be deprecated in future
versions:
* `testlib`: use `unittest2`_ instead
-* `logilab-pytest`: use `discover`_ instead
* `interface`: use `zope.interface`_ if you really want this
* `table`, `xmlutils`: is that used?
* `sphinxutils`: we won't go that way imo (i == syt)
diff --git a/logilab/common/pytest.py b/logilab/common/pytest.py
index c02a748..c644a61 100644
--- a/logilab/common/pytest.py
+++ b/logilab/common/pytest.py
@@ -124,6 +124,7 @@ from inspect import isgeneratorfunction, isclass
from random import shuffle
from itertools import dropwhile
+from logilab.common.deprecation import deprecated
from logilab.common.fileutils import abspath_listdir
from logilab.common import textutils
from logilab.common import testlib, STD_BLACKLIST
@@ -631,6 +632,7 @@ def parseargs(parser):
+@deprecated('[logilab-common 1.3] logilab-pytest is deprecated, use another test runner')
def run():
parser = make_parser()
rootdir, testercls = project_root(parser)