diff options
author | Denis Laxalde <denis.laxalde@logilab.fr> | 2016-10-03 09:23:44 +0200 |
---|---|---|
committer | Denis Laxalde <denis.laxalde@logilab.fr> | 2016-10-03 09:23:44 +0200 |
commit | a98eab8a863cecfad72b981307b43ee44d1f9f3a (patch) | |
tree | fcffc5a612698f37151bc1a8172b979f6e171252 | |
parent | 0d08816540360026a51d89bb34b3c5f842b6f6de (diff) | |
download | logilab-common-a98eab8a863cecfad72b981307b43ee44d1f9f3a.tar.gz |
Deprecate logilab-pytest
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | logilab/common/pytest.py | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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) |