summaryrefslogtreecommitdiff
path: root/setuptools/command/test.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-8/+2
|
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-1/+2
|
* Fix for Python 4: replace unsafe six.PY3 with PY2Hugo2020-01-081-2/+2
|
* Deprecate the test commandJon Dufresne2019-10-211-1/+9
| | | | | | | Provide a warning to users. Suggest using tox as an alternative generic entry point. Refs #1684
* Rely on unique_everseen to avoid unnecessarily polluting the PYTHONPATH with ↵Jason R. Coombs2019-04-051-6/+6
| | | | duplicate entries.
* uniquify paths in PYTHONPATHrobnagler2019-02-261-5/+6
| | | | | | When running in a complex environment with lots of installed packages, PYTHONPATH gets way too long. Instead, just make sure that paths_on_pythonpath doesn't contain duplicates
* Use Python 3 syntax for new-style clasessJason R. Coombs2018-06-031-1/+3
|
* Merge branch 'master' into drop-py26Jason R. Coombs2017-11-191-0/+11
|\
| * fix `test` command running tests twiceBenoit Pierre2017-11-021-1/+10
| |
| * fix `test` command when run with Python 2Benoit Pierre2017-11-021-0/+2
| | | | | | | | | | When using Python 2, `python2 -m unittest` is not equivalent to `python2 -m unittest discover`.
* | Merge branch 'master' into drop-py26Jason R. Coombs2017-09-031-6/+15
|\ \ | |/
| * fix `test` command handling of `extras_require`Benoit Pierre2017-07-261-3/+7
| | | | | | | | Also install platform specific requirements in `extras_require`.
| * Merge branch 'master' into feature/re-vendor-sadfaceJason R. Coombs2017-05-301-1/+1
| |\
| | * Document -s to run single testanatoly techtonik2017-05-161-1/+1
| | | | | | | | | Fixes https://github.com/pypa/setuptools/issues/1032
| * | Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-2/+2
| |/ | | | | | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
| * Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-2/+2
| |
| * Raise DistutilsError and log resultCédric Krier2016-12-161-2/+5
| |
| * Exit on test failureCédric Krier2016-12-161-1/+3
| | | | | | | | | | When test fails, it should not continue to run other commands. Fixes #891
* | Drop support for Python 2.6, removing lots of compatibility code for a ↵Jason R. Coombs2016-12-091-4/+3
|/ | | | leaner, cleaner codebase. Fixes #878.
* Tell unittest.main not to exit, fixes #850.Ville Skyttä2016-12-071-0/+2
|
* Fix quantity of blank lines.stepshal2016-10-181-2/+0
|
* Even better, use a static methodJason R. Coombs2016-09-181-3/+3
|
* Extract test.install_dists and distill it with a variable extraction and ↵Jason R. Coombs2016-09-181-11/+12
| | | | fallback variables.
* In test command, add installed eggs to PYTHONPATH when invoking tests so ↵Jason R. Coombs2016-09-171-9/+48
| | | | that subprocesses will also have the dependencies available. Fixes #794.
* Fix quantity of blank lines after code object.stepshal2016-07-131-0/+2
|
* Extract context manager for project_on_sys_path in test commandJason R. Coombs2016-06-031-5/+16
|
* Always use Python 3 version of mapJason R. Coombs2016-01-161-0/+1
|
* Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-311-6/+1
| | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-1/+6
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-311-20/+39
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Make test.test_args a non-data property per Pull Request #155.Jason R. Coombs2015-11-271-1/+12
| |
| * Remove unreachable branch.Jason R. Coombs2015-10-101-7/+6
| |
| * Always execute tests, even if no test_suite is supplied. Fixes #446.Jason R. Coombs2015-10-101-1/+1
| |
| * Accept a pattern argument, supplied by later versions of unittest.Jason R. Coombs2015-10-101-1/+1
| |
| * Only include test_suite in args if one is specified. Ref #446.Jason R. Coombs2015-10-101-2/+7
| |
| * Re-use _argv for the announcementJason R. Coombs2015-10-101-3/+3
| |
| * Extract _argv property.Jason R. Coombs2015-10-101-1/+5
| |
| * Just pass 'unittest' as argv[0] - the full path to the file shouldn't be ↵Jason R. Coombs2015-10-101-2/+1
| | | | | | | | relevant
| * Resolve test_suite directly rather than referencing test_argsJason R. Coombs2015-10-101-1/+1
| |
| * Extract variable for nicer indentationJason R. Coombs2015-10-101-3/+2
| |
| * Move value checking into its own block.Jason R. Coombs2015-10-101-4/+5
| |
| * Calculate test_args on demand rather than setting an attribute.Jason R. Coombs2015-10-101-4/+5
| |
| * Add EntryPoint.resolve and deprecate most usage of EntryPoint.load. Removed ↵11.3Jason R. Coombs2015-01-051-1/+1
| | | | | | | | EntryPoint._load.
* | Merge with 10.2.1Jason R. Coombs2015-01-021-1/+1
|\ \ | |/ | | | | | | --HG-- branch : feature/issue-229
| * Use underlying invocation of ._load directlyJason R. Coombs2014-12-311-1/+1
| |
* | Use six for Python 2 compatibilityJason R. Coombs2014-07-051-3/+4
|/ | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Remove doctests module. It is now part of Python.Jason R. Coombs2014-07-051-2/+1
|
* Fixed PEP 8 compliancy of the setuptools.command packageAlex Grönholm2014-06-181-17/+15
|
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-171-5/+4
|
* Wrap unittest.main in a compatibility wrapper for Python 3.1 compatibility. ↵3.4.2Jason R. Coombs2014-04-061-4/+7
| | | | Fixes #183