summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_resources.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved test_resources and test_pkg_resources to pkg_resources package.Jason R. Coombs2015-01-031-608/+0
|
* Remove remaining reference to setuptools from test_resourcesJason R. Coombs2015-01-031-2/+1
|
* Moved TestScriptHeader tests to more appropriate module.Jason R. Coombs2015-01-031-68/+1
|
* Move tests to be adjacent with other parsing tests.Jason R. Coombs2015-01-021-0/+5
|
* Ported test_resources to pytest from unittest.Jason R. Coombs2015-01-021-183/+200
|
* Use pytest for skipsJason R. Coombs2015-01-011-3/+4
|
* Setuptools now uses the 'packaging' package from pkg_resources, unifying the ↵Jason R. Coombs2014-12-241-4/+2
| | | | behavior around resolution of that package.
* Move vendored packaging module into pkg_resources._vendor, restoring ↵Jason R. Coombs2014-12-241-3/+3
| | | | independence of pkg_resources from setuptools. Fixes #311.
* Define a __hash__ on the packaging.version.Version subclassesDonald Stufft2014-12-151-0/+10
| | | | | | | In Python 3.x a subclass will not inherent the __hash__ method from the parent classes if the subclass defines a __eq__ method. This means that without defining our own __hash__ the SetuptoolsVersion classes are unhashable.
* Add more compatability shims to SetuptoolsVersionDonald Stufft2014-12-141-0/+21
| | | | | | | * Enables indexing the SetuptoolsVersion objects, triggering the legacy behavior warning. * Enables comparing the SetuptoolsVersion object to a tuple, again triggering the legacy behavior warning.
* Restore iterating over Version objects for compat with buildoutDonald Stufft2014-12-131-0/+19
|
* Fix the use of pacakging.version.SpecifierDonald Stufft2014-11-191-1/+1
|
* Always use the vendored copy of packagingDonald Stufft2014-11-191-6/+3
|
* Prefer packaging library if available.Jason R. Coombs2014-09-271-2/+8
|
* Implement PEP 440 by using the packaging libraryDonald Stufft2014-09-041-22/+12
|
* frozenset is available in Python 2.6Jason R. Coombs2014-07-121-5/+0
|
* Disable test_two_levels_deep when /tmp is a symlink. The results it is ↵Jason R. Coombs2014-07-121-0/+3
| | | | returning are suitable (shouldn't cause errors in runtime). Users are invited to trace the problem and find a solution. Fixes #231.
* More simple assertsJason R. Coombs2014-07-121-3/+5
|
* Use simple asserts. pytest handles this nicely. Removes broken _assertIn.Jason R. Coombs2014-07-121-9/+2
|
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-171-3/+2
|
* Added test to capture behavior expected behavior on Windows with spaces in ↵Jason R. Coombs2013-08-091-0/+4
| | | | the filename
* Fixed test_get_script_header failures on Windows when Python is in a ↵Jason R. Coombs2013-08-091-3/+6
| | | | directory with spaces
* Remove import *Jason R. Coombs2013-08-091-18/+22
|
* Spruce up syntax to to address linter warningsJason R. Coombs2013-08-091-42/+26
|
* Clean up importsJason R. Coombs2013-08-091-3/+13
|
* Initial commit. All tests pass on 2.7, 3.2 and 3.3, though there are some ↵Vinay Sajip2013-06-151-8/+9
| | | | atexit errors in the multiprocessing module in 2.7/3.2 (seemingly unrelated to setuptools).
* Merged latest changes from setuptools-0.6 branchJason R. Coombs2013-05-131-2/+2
|\
| * Fix spurious test breakage on 2.7pje2013-04-251-4/+4
| | | | | | | | (grafted from aeb004b22c9472066322f4b0319588cddf63f699)
* | Updated a couple more references from Distribute to SetuptoolsJason R. Coombs2013-03-191-2/+2
| |
* | Removed tests relevant to the co-existence of distribute and setuptools; ↵Jason R. Coombs2013-03-191-37/+6
| | | | | | | | retained some tests that are still relevant
* | Backed out changeset: d0a8d1a83053Jason R. Coombs2013-02-161-17/+3
| | | | | | | | In the discussion in #278, it became clear that the deviance in behavior from setuptools is problemmatic. For compatibility, defer to the setuptools version scheme as specifically intended.
* | Disable workaround for Jython scripts on Linux systems.Arfrever Frehtes Taifersar Arahesis2012-11-271-0/+10
| |
* | Got rid of deprecated assert_ and assertEquals.Lennart Regebro2012-08-221-21/+21
| |
* | Issue #208: fixing parse_version and post-release tagsguyroz2011-09-171-3/+17
| | | | | | | | including tests
* | Issue #237: fixing test on Python2.3guyroz2011-09-161-2/+19
| | | | | | | | Added an _assertIn method (copied from a more recent version of unittest) and replaced the calls to assertTrue, which does not exist in Python 2.3
* | Update the child's __path__ in declare_namespace, even if the parent isAurelien Bompard2011-06-011-5/+32
| | | | | | | | already a namespace package -- fixes #204
* | Don't try to import the parent of a namespace package in declare_namespace ↵Aurelien Bompard2011-05-171-1/+27
| | | | | | | | -- fixes #204
* | removed assertTrue/assertFalse occurrencesTarek Ziade2010-05-191-19/+19
| |
* | Use assertTrue and assertFalse instead of deprecated failUnless and failIf.Arfrever Frehtes Taifersar Arahesis2010-05-061-19/+19
| |
* | avoid running test_get_script_header_jython_workaround undr some py3 ↵tarek2009-12-111-0/+4
| | | | | | | | environments fixes #103
* | unknown setuptools version can be added in the working set, refs #90tarek2009-11-111-9/+6
| |
* | an error is raised when installing a 0.7 setuptools with distributeReinout van Rees2009-10-141-4/+15
| |
* | Distribute no longer shadows setuptools if we require a 0.7-seriesReinout van Rees2009-10-141-2/+22
| | | | | | | | | | setuptools. Added _override_setuptools() checker method and calling it in two places that checks whether we request a setuptools from the 0.7 series. Including test.
* | fixed the parsed api when dealing with setuptools nametarek2009-10-131-11/+11
| |
* | Redirect stderr as well.Martin v. L?wis2009-09-121-2/+2
|/
* Backport fix for http://bugs.python.org/setuptools/issue27PJ Eby2008-09-241-7/+47
|
* chmod/test cleanups and Jython compatibility (backport from trunk)PJ Eby2008-01-181-11/+9
|
* Get rid of 'sets' module usage under Python 2.4+, so that no warningsPJ Eby2007-02-231-3/+5
| | | | are issued by Python 2.6. (backport from trunk)
* Fix "dev" versions being considered newer than release candidates.PJ Eby2006-09-251-0/+1
| | | | (backport from trunk)
* Fix entry point parsing when a standalone module name has whitespacePJ Eby2006-04-271-4/+4
| | | | between it and the extras.