aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/test.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-10-26 16:36:07 -0400
committerJason R. Coombs <jaraco@jaraco.com>2019-10-26 16:36:07 -0400
commitc11270aa6bffd8913c6e074f09b9d920c8f19002 (patch)
tree5c97e2e05dcabb9b13e954528fa6783740f68fb6 /setuptools/command/test.py
parent6a3674a18d22dbea4d6b513b8e8a7ac28ada5eba (diff)
parent297f2adceda3af402fc08311e42505c8cdc9c54b (diff)
downloadexternal_python_setuptools-c11270aa6bffd8913c6e074f09b9d920c8f19002.tar.gz
external_python_setuptools-c11270aa6bffd8913c6e074f09b9d920c8f19002.tar.bz2
external_python_setuptools-c11270aa6bffd8913c6e074f09b9d920c8f19002.zip
Merge branch 'master' into fix/1700
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r--setuptools/command/test.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index 973e4eb2..c148b38d 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -74,7 +74,7 @@ class NonDataProperty:
class test(Command):
"""Command to run unit tests after in-place build"""
- description = "run unit tests after in-place build"
+ description = "run unit tests after in-place build (deprecated)"
user_options = [
('test-module=', 'm', "Run 'test_suite' in specified module"),
@@ -214,6 +214,14 @@ class test(Command):
return itertools.chain(ir_d, tr_d, er_d)
def run(self):
+ self.announce(
+ "WARNING: Testing via this command is deprecated and will be "
+ "removed in a future version. Users looking for a generic test "
+ "entry point independent of test runner are encouraged to use "
+ "tox.",
+ log.WARN,
+ )
+
installed_dists = self.install_dists(self.distribution)
cmd = ' '.join(self._argv)