diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2019-10-26 16:36:07 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-10-26 16:36:07 -0400 |
commit | c11270aa6bffd8913c6e074f09b9d920c8f19002 (patch) | |
tree | 5c97e2e05dcabb9b13e954528fa6783740f68fb6 /setuptools/command/test.py | |
parent | 6a3674a18d22dbea4d6b513b8e8a7ac28ada5eba (diff) | |
parent | 297f2adceda3af402fc08311e42505c8cdc9c54b (diff) | |
download | external_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.py | 10 |
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) |