aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_develop.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for Python 2.6 by merging the drop-py26 branch. Fixes #878.Jason R. Coombs2017-11-201-1/+1
|\
| * Reference to __main__ is only required for Python 2.6.Jason R. Coombs2017-11-201-1/+1
| |
* | Feed the hobgoblins (delint).Jason R. Coombs2017-11-201-2/+4
| |
* | Disable hanging test on PyPy3. Ref #1202.Jason R. Coombs2017-11-201-2/+9
|/
* Tests: Run `python -m pip.__main__` to support Python 2.6Miro Hrončok2017-09-201-1/+1
| | | | See https://bugs.python.org/issue2751
* Tests: Run `python -m pip` instead of plain `pip`Miro Hrončok2017-09-201-0/+2
| | | | | | | | | | | | | | This allows to run the testsuite on systems where `/usr/bin/pip` is a specific Python version, but the tests are run on a different one. For example in Fedora RPM, when the Python 3 tests are invoked, they should use Python 3 pip, not Python 2 `/usr/bin/pip`. Unlike other approaches, like using `pip2`/`pip3` which is currently done in Fedora RPM (downstream patch), this way it Works Everywhere™ and the downstream patch can be dropped. See https://src.fedoraproject.org/rpms/python-setuptools/blob/54eaa03a4dc97f93a5e4c92c55e580a4ab55a058/f/0001-Run-test-on-a-version-specific-pip.patch
* Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-1/+1
| | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
* Add tests for _resolve_setup_path, including one that elicits the error ↵Jason R. Coombs2017-01-241-0/+16
| | | | reported in #913.
* Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-1/+1
|
* Re-use test.paths_on_pythonpath to extend the PYTHONPATH variable rather ↵Jason R. Coombs2016-12-221-5/+7
| | | | than erasing it. When tests are run under pytest-runner (or other setup.py test invocations), the PYTHONPATH is carefully curated to include dependencies and the project under test. Overwriting PYTHONPATH will break tests in those environments. Fixes #884.
* Additionally, in test_develop, ensure that pkg_resources is importable. Ref ↵Jason R. Coombs2016-12-121-0/+6
| | | | #885.
* Mark another test to fail. Ref #851Jason R. Coombs2016-12-111-0/+2
|
* Merge branch 'master' into develop-nspkg-alwaysdevelop-nspkg-alwaysJason R. Coombs2016-12-111-42/+4
|\
* | Use unicode literals for Python 2.7 compatibilityJason R. Coombs2016-11-071-1/+1
| |
* | Move imports to top and use absolute_import for Python 2.7 compatibilityJason R. Coombs2016-11-071-4/+5
| |
* | pip can't accept -e and -tJason R. Coombs2016-11-071-1/+14
| |
* | Add test capturing expectation for #250.Jason R. Coombs2016-11-071-0/+73
|/
* Fix quantity of blank lines.stepshal2016-10-181-1/+0
|
* Format block comment.stepshal2016-07-211-1/+1
|
* Fix quantity of blank lines after code object.stepshal2016-07-131-0/+2
|
* 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-62/+74
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Skip the test when running under venv alsoJason R. Coombs2015-11-251-2/+4
| |
| * Draft a test for testing the new expectation for develop command (and ↵Jason R. Coombs2015-11-241-0/+25
| | | | | | | | general functionality when console scripts are present).
| * Rename tests for clarityJason R. Coombs2015-11-241-2/+2
| |
| * Use if clause.Jason R. Coombs2015-11-241-4/+4
| |
| * Use io.open and its context for simpler reading of a fileJason R. Coombs2015-11-241-8/+5
| |
| * Use quiet context to suppress stdout.Jason R. Coombs2015-11-241-5/+1
| |
| * Remove unused importsJason R. Coombs2015-11-241-2/+0
| |
| * Extract variableJason R. Coombs2015-11-241-6/+7
| |
| * Replace silent test acceptance with a proper skip checkJason R. Coombs2015-11-241-11/+2
| |
| * Extract setup/teardown methods as proper fixtures.Jason R. Coombs2015-11-241-27/+30
| |
| * Use context manager for opening fileJason R. Coombs2015-11-241-6/+4
|/
* Remove unused importJason R. Coombs2015-01-021-1/+0
|
* Remove apparently unused method.Jason R. Coombs2015-01-011-17/+0
|
* Remove consideration for older PythonsJason R. Coombs2015-01-011-3/+3
|
* Convert test_develop to use pytestJason R. Coombs2015-01-011-7/+6
|
* Remove unused imports, unused variables, and excess whitespaceJason R. Coombs2014-06-231-4/+2
|
* Clean some imports.Arfrever Frehtes Taifersar Arahesis2014-02-151-2/+4
|
* Merged upstream changes.Vinay Sajip2013-06-191-5/+8
|\ | | | | | | | | --HG-- branch : single-codebase
| * Merge Vinay Sajip's unified Python 2/3 support from distribute 3Jason R. Coombs2013-06-181-6/+6
| |\ | | | | | | | | | | | | --HG-- branch : distribute
| * | Fixed some resource leaks.Vinay Sajip2012-10-101-5/+12
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : source : 98c929e25fee11a99eb125dd9a13521321d68dd3
| * | Merge with upstreamJason R. Coombs2013-06-181-15/+47
| |\ \ | | | | | | | | | | | | | | | | --HG-- branch : distribute
| * | | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* | | | Initial commit. All tests pass on 2.7, 3.2 and 3.3, though there are some ↵Vinay Sajip2013-06-151-5/+6
| |_|/ |/| | | | | | | | | | | | | | | | | atexit errors in the multiprocessing module in 2.7/3.2 (seemingly unrelated to setuptools). --HG-- branch : single-codebase
* | | Fix some ResourceWarnings.Arfrever Frehtes Taifersar Arahesis2012-12-291-2/+6
| |/ |/| | | | | | | | | --HG-- branch : distribute extra : rebase_source : 31ac3f0135d8cfe0fabc274f1649d1c99eba2868
* | Got rid of deprecated assert_ and assertEquals.Lennart Regebro2012-08-221-3/+3
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9d7032bac7db98e445ab6a46b2610c278c691c2d
* | Added fix for the develop command, #299.Lennart Regebro2012-08-211-5/+11
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : ef69472e5a9ce97d9102578898e81e516f06497a
* | Added failing test for #299.Lennart Regebro2012-08-211-11/+37
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 4a3ac76a6a49e06e1fecd1d6f4e08fa922f82f73