aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_namespaces.py
Commit message (Collapse)AuthorAgeFilesLines
* Mark Py 2/3-only tests as skip instead of xfailNikolaus Waxweiler2018-10-271-1/+1
| | | | | Also reuse pre-defined py2_only and py3_only decorators where appropriate.
* remove xfail for AppVeyor from namespace tests entirelyAlexander Duryagin2018-08-211-4/+0
|
* remove xfail for namespace tests that actually pass in AppVeyorAlexander Duryagin2018-08-211-13/+1
|
* change formatting to fix flake8 warningAlexander Duryagin2018-08-171-2/+4
|
* xfail namespace packages tests on appveyor instead of skipping themAlexander Duryagin2018-08-171-8/+16
|
* always process module.__path__ for namespace packages, fixes #1321Alexander Duryagin2018-06-271-0/+31
|
* Tests: Run `python -m pip.__main__` to support Python 2.6Miro Hrončok2017-09-201-3/+3
| | | | See https://bugs.python.org/issue2751
* Tests: Run `python -m pip` instead of plain `pip`Miro Hrončok2017-09-201-0/+6
| | | | | | | | | | | | | | 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
* Re-use test.paths_on_pythonpath to extend the PYTHONPATH variable rather ↵Jason R. Coombs2016-12-221-8/+9
| | | | 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.
* Skip again on appveyorJason R. Coombs2016-12-131-0/+2
|
* Add test capturing expectation when a package is both installed and in the ↵Jason R. Coombs2016-12-131-0/+27
| | | | current working directory. Ref #885.
* Add test attempting to capture failure, but it passes. Ref #885.Jason R. Coombs2016-12-121-0/+23
|
* Expect failure on Python 3.4 and earlier as module_from_spec isn't ↵Jason R. Coombs2016-12-111-2/+2
| | | | available. Ref #250.
* cast the value to a bool so pytest doesn't try to eval itJason R. Coombs2016-12-011-1/+1
|
* Evaluate the expression directly. Workaround for #860.Jason R. Coombs2016-11-291-1/+1
|
* Skip failing test on appveyor until the cause can be uncovered. Ref #851.Jason R. Coombs2016-11-181-0/+2
|
* Extract namespace support functionality into a separate module.Jason R. Coombs2016-11-131-42/+5
|
* Fix test failures on Python 2 and suppress test failures when PEP 420 is not ↵Jason R. Coombs2016-11-131-1/+5
| | | | available. Ref #805.
* Add test capturing (failing) expectation. Ref #805.Jason R. Coombs2016-11-131-0/+83