aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_easy_install.py
Commit message (Collapse)AuthorAgeFilesLines
* next compatibility is no longer requiredJason R. Coombs2014-07-051-1/+1
|
* Just suppress the spurious IndexError when it happens. Rely on the ↵Jason R. Coombs2014-05-051-3/+4
| | | | environments where the behavior doesn't fail until the upstream issue can be resolved. Fixes #201.
* Skip this test because it now fails under Python 3.3 and earlier apparently ↵Jason R. Coombs2014-03-301-0/+4
| | | | due to a bug in the inspect module. Since the test passes under Python 3.4 and later, that should still serve as a suitable regression test.
* Fix failing test on Windows3.2Jason R. Coombs2014-03-141-2/+3
|
* Use readlines on StringIO. Ensure quiet_context returns rewound buffers.Jason R. Coombs2014-02-051-1/+3
|
* Rewrite merged tests to use context managersJason R. Coombs2014-02-051-19/+16
|
* Remove unused variableJason R. Coombs2014-02-051-1/+0
|
* Reindent according to TODO (indent was reserved to minimize the diff)Jason R. Coombs2014-02-051-15/+14
|
* Update global reference.Jason R. Coombs2014-02-051-2/+2
|
* Backed out changeset: ef949e6e6de1, which was itself a backout of the fix ↵Jason R. Coombs2014-01-271-38/+103
| | | | for Distribute #323, so this backout restores that fix and also Fixes #141.
* Move the global import logic for test_multiproc_atexit into the test where ↵Jason R. Coombs2013-11-271-13/+9
| | | | it is used.
* Reindent long lineJason R. Coombs2013-11-271-1/+2
|
* Remove redundant importsJason R. Coombs2013-11-271-2/+0
|
* Remove unused variable and clean whitespaceJason R. Coombs2013-11-271-2/+1
|
* backout 983513e397f3 now that contextlib and with statements are availableJason R. Coombs2013-11-271-52/+30
|
* Remove Python 2.5 compatibility in easy_install test setup.Jason R. Coombs2013-11-271-19/+15
|
* Remove easy_install.HAS_USER_SITE and just defer to site.ENABLE_USER_SITE.Jason R. Coombs2013-11-271-4/+4
|
* Fixed script header generation in easy_install tests. Fixes #37.Jason R. Coombs2013-08-091-2/+2
|
* Merge fix for #21Jason R. Coombs2013-06-191-5/+6
|\
| * Restore Python 2.4 compatibility in test_easy_install. Fixes #21Jason R. Coombs2013-06-191-5/+6
| |
* | Merged upstream changes.Vinay Sajip2013-06-191-0/+2
|\ \ | | | | | | | | | | | | --HG-- branch : single-codebase
| * \ Merge Python 3 native support from distributeJason R. Coombs2013-06-181-10/+9
| |\ \ | | |/ | |/| | | | | | | --HG-- rename : tests/test_distribute_setup.py => tests/test_ez_setup.py
| | * Merge Vinay Sajip's unified Python 2/3 support from distribute 3Jason R. Coombs2013-06-181-2/+2
| | |\ | | | | | | | | | | | | | | | | --HG-- branch : distribute
| | * | Fixed some resource leaks.Vinay Sajip2012-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : source : 98c929e25fee11a99eb125dd9a13521321d68dd3
| | * | Merge with upstreamJason R. Coombs2013-06-181-23/+240
| | |\ \ | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute
| | * | | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-4/+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-10/+8
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | atexit errors in the multiprocessing module in 2.7/3.2 (seemingly unrelated to setuptools). --HG-- branch : single-codebase
* | | | easy_install once again honors setup.cfg if found in the current directoryJason R. Coombs2013-05-031-36/+1
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : 422fc7e84eb2a22aa13df44dea6f138d7c840e83
* | | | Updated references in tests to refer to setuptools in favor of distributeJason R. Coombs2013-03-191-6/+6
| |_|/ |/| | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : rebase_source : 1ffe834b5ecad0e5fd0ae44cb63e6541d9006004
* | | Fix 1 failure with Jython 2.5 and 2.7.Arfrever Frehtes Taifersar Arahesis2012-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | (Now there remain 0 failures and 2 errors with Jython 2.5 and 0 failures and 5 errors with Jython 2.7.) --HG-- branch : distribute extra : rebase_source : 319071404608c4f34616df74bfeaa28d590edd0c
* | | Backed out changeset: 98a9f9dcce0e; Fixes #335.Jason R. Coombs2012-11-261-104/+38
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 3f4ff1c880688e6dd72d2fa8fab3c07e7f486a7e
* | | Fix some DeprecationWarnings and ResourceWarnings.Arfrever Frehtes Taifersar Arahesis2012-11-261-2/+2
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 1293f856181d35c735670b021e8745208103f640
* | | Do not use assertGreater(), which was introduced in Python 2.7 and 3.1.Arfrever Frehtes Taifersar Arahesis2012-11-261-1/+1
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : b0d3166887c9a287fd885e19f804e9d254b8dbc8
* | | Fixes and adds a regression test for #323; required adding some new keyword ↵Erik Bray2012-09-111-38/+104
| |/ |/| | | | | | | | | | | | | arguments to existing pkg_resources methods. Also had to update how __path__ is handled for namespace packages to ensure that when a new egg distribution containing a namespace package is placed on sys.path, the entries in __path__ are in the same order they would have been in had that egg been on the path when pkg_resources was first imported --HG-- branch : distribute extra : rebase_source : 63a120c9397f6619d2768ec982e5c6b664c97e40
* | Make this test less chattyErik Bray2012-09-111-0/+7
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : da18973713f46ff00931ea79f0fcd39a13fb8349
* | Adds a fix for issue #318, including a regression test. This also fixes ↵Erik Bray2012-09-061-22/+80
| | | | | | | | | | | | | | | | another test that was passing trivially due to *bug* in yet another test, ugh --HG-- branch : distribute extra : rebase_source : 476550766b7b756dced040ad4356b7685d6f062a
* | Issue #314: test_local_index() would fail an OS X.Lennart Regebro2012-08-221-1/+2
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 8d91abdbed53300e6ec80bd535e00bca17767206
* | Got rid of deprecated assert_ and assertEquals.Lennart Regebro2012-08-221-10/+10
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 9d7032bac7db98e445ab6a46b2610c278c691c2d
* | Allow for three requests (fixes test on Python 3.3).Jason R. Coombs2012-04-151-1/+3
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 42f8c571b3296488b167aaa863bdbfa771f6a9d9
* | Skip test when MockServer can't detect the port to which it bound.Jason R. Coombs2012-04-151-0/+4
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : c59caee49fcfb2e0d9b507fb1a01dfb2ddcdcdc8
* | Ensure that the setup.py is generated as bytes on Python 2 and 3 so that the ↵Jason R. Coombs2012-04-141-2/+7
| | | | | | | | | | | | | | | | tarfile module will accept it. --HG-- branch : distribute extra : rebase_source : 07afe24875bff3a4892319e02ae66be0d3725c8e
* | Fix one failing test per #277Jason R. Coombs2012-04-091-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 74d2107a0e4f5ecda5030fa8610dfd38a2bd5740
* | Fixed two issues for Python 2.4 compatibility. Tests now run again on Python 2.40.6.26Jason R. Coombs2012-04-081-1/+2
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : c6dc5ce8070ec42190d4d8eb6af28523d447f962
* | Removed unused importJason R. Coombs2012-04-081-1/+0
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 4bad5e1f1f1e377a8cb5ade411a8ad572f85abb6
* | Converted new tests in test_easy_install to use call-back functions instead ↵Jason R. Coombs2012-04-081-29/+54
| | | | | | | | | | | | | | | | of with statements for Python2.4 compatibility. --HG-- branch : distribute extra : rebase_source : e7edcca83dc29038a6832501a0a8251f4f3856a6
* | Make sure to un-monkey-patch the Distribution class when running ↵Jason R. Coombs2012-04-071-1/+2
| | | | | | | | | | | | | | | | test_no_setup_cfg. Otherwise, it breaks other tests (notably the new test_setup_requires_honors_fetch_params). --HG-- branch : distribute extra : rebase_source : f54d67ea495c18ff1dc74d12ff96797e64abe5e1
* | Added another context to reset the _setup_stop_contextJason R. Coombs2012-04-071-5/+20
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : b31f921755cea6d2559c9f24f42b737aa80198e7
* | Set the argv context so that easy_install.main invokes the command as if it ↵Jason R. Coombs2012-04-071-5/+12
| | | | | | | | | | | | | | | | had been run from the command-line --HG-- branch : distribute extra : rebase_source : 4916aebae87b1d83dc27b494715c89dce1ce1e12
* | Test now constructs the tarfile completely in memory (avoiding accidentally ↵Jason R. Coombs2012-04-071-10/+12
| | | | | | | | | | | | | | | | writing over our own setup.py) --HG-- branch : distribute extra : rebase_source : ad8ec142238405edeee6dce51c05d382e53d1299
* | Improved the MockServer so it now more effectively handles multiple requests ↵Jason R. Coombs2012-04-071-4/+6
| | | | | | | | | | | | | | | | | | | | (as any index server really must). Test now more accurately captures the working scenario. --HG-- branch : distribute extra : rebase_source : 8ee0afdd95219047e4700b85356792f6128b1fd8