Commit Graph

38 Commits

Author SHA1 Message Date
Zachary Ware 38c707e7e0 Issue #21741: Update 147 test modules to use test discovery.
I have compared output between pre- and post-patch runs of these tests
to make sure there's nothing missing and nothing broken, on both
Windows and Linux.  The only differences I found were actually tests
that were previously *not* run.
2015-04-13 15:00:43 -05:00
Victor Stinner 866c4e2188 test_venv: use support.rmtree() instead of shutil.rmtree() to fix sporadic
failures on Windows
2014-10-10 14:23:00 +02:00
Vinay Sajip b9b965f6dd Issue #21643: Updated test and fixed logic bug in lib64 symlink creation. 2014-06-03 16:47:51 +01:00
Vinay Sajip 1e53f8d9bf Issue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX. 2014-04-15 11:18:10 +01:00
Nick Coghlan 11c5afd138 Issue #20053: Mark as an expected failure for 3.4 2014-02-07 23:46:38 +10:00
Nick Coghlan d49fa5eb11 Issue #20053: Actually test relevant assumption 2014-02-07 22:28:18 +10:00
Nick Coghlan 456ab5d909 Issue #20053: new test to check an assumption 2014-02-05 23:54:55 +10:00
Nick Coghlan 6edd82a1d2 Close #20053: ignore default pip config settings
ensurepip now sets PIP_CONFIG_FILE to os.devnull before
import pip from the wheel file. This also ensures venv
ignores the default settings when bootstrapping pip.
2014-02-04 23:02:36 +10:00
Nick Coghlan ae2ee96ad7 Issue #19744: improve ensurepip error when ssl is missing 2013-12-23 23:07:07 +10:00
Nick Coghlan 6256fcbc97 Close #19734: ignore pip env vars in ensurepip 2013-12-23 16:16:07 +10:00
Nick Coghlan 8ddd59e870 Issue #19728: don't be sensitive to line endings 2013-11-30 18:35:32 +10:00
Nick Coghlan fdf3a620a2 Issue #19728: add private ensurepip._uninstall CLI
MvL would like to be able to preserve CPython's existing clean
uninstall behaviour on Windows before enabling the pip
installation option by default.

This private CLI means running "python -m ensurepip._uninstall"
will remove pip and setuptools before proceeding with the rest
of the uninstallation process.

If the version of pip differs from the one bootstrapped by
CPython, then the uninstallation helper will leave it alone
(just like any other pip installed packages)
2013-11-30 17:15:09 +10:00
Nick Coghlan 1b1b1789d0 Fix and test pip version consistency 2013-11-30 15:56:58 +10:00
Nick Coghlan 1d1d834328 Issue #19734: Also run pip version check in isolated mode 2013-11-24 16:49:20 +10:00
Nick Coghlan 091167c1ca Issue #19734: Ensure test_venv ignores PIP_REQUIRE_VIRTUALENV 2013-11-24 14:58:31 +10:00
Nick Coghlan 878d258a22 Issue #19744 (temp workaround): without ssl, skip pip test 2013-11-24 12:45:25 +10:00
Nick Coghlan 6fd12f2b33 Issue 19734: better diagnostics for test_venv failures 2013-11-24 11:36:31 +10:00
Nick Coghlan d76cdc161e Close #19694: venv now runs ensurepip in isolated mode 2013-11-23 11:37:28 +10:00
Nick Coghlan 8fbdb097cf Close #19552: venv and pyvenv ensurepip integration 2013-11-23 00:30:34 +10:00
Vinay Sajip 53b1c24f54 Issue #18224: Updated test. 2013-06-30 22:11:46 +01:00
Vinay Sajip ef1f777e0a Issue #18224: Updated test. 2013-06-30 22:11:10 +01:00
Vinay Sajip bd40d3e144 Closes #15776: pyvenv now works with existing directories. 2012-10-11 17:22:45 +01:00
Antoine Pitrou 9c92a691e1 Fix test_venv to work with universal newlines (issue #13119) 2012-08-05 00:33:10 +02:00
Vinay Sajip 90db661b43 Closes #15307: symlinks now work on OS X with framework Python builds. Patch by Ronald Oussoren. 2012-07-17 17:33:46 +01:00
Vinay Sajip 509d87d4a0 Issue #15307: Skipped test_venv:test_prefixes when run from a venv. 2012-07-15 16:12:54 +01:00
Ned Deily 045bd5340f Issue #15241: Fix test_prefixes failure in test_venv due to symlink in
tempfile directory path (i.e. on OS X /tmp is actually /private/tmp).
2012-07-13 15:48:04 -07:00
Vinay Sajip 3874e547b4 Issue #15241: Added test for venv prefixes. 2012-07-03 16:56:40 +01:00
Vinay Sajip 2895244653 Closes #15173: Tidied up copyright statements and removed pythonv references. 2012-06-25 00:47:46 +01:00
Éric Araujo aa789ace66 Restore test that was using pysetup and can now (#15157) use pydoc 2012-06-24 13:51:22 -04:00
Éric Araujo 859aad6a36 Remove packaging from the standard library.
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready.  See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Vinay Sajip c1f0b53875 Updated test to reflect renamed file. 2012-05-29 22:29:50 +01:00
Vinay Sajip ef4c5010e4 Fixed typo. 2012-05-28 17:01:17 +01:00
Vinay Sajip 382a7c0180 Tweaked tests to use launcher executable name on OS X. 2012-05-28 16:34:47 +01:00
Vinay Sajip 393da3240a Changed executable name computation in test_venv to allow for debug executables. 2012-05-27 19:05:36 +01:00
Vinay Sajip b3b49cd1d2 Refined venv tests. 2012-05-27 18:39:22 +01:00
Vinay Sajip 7e203498d1 Fixed _sys_home computation and added diagnostics for Windows buildbot failures. 2012-05-27 17:30:09 +01:00
Vinay Sajip 42211426eb Addressed some buildbot errors and comments on the checkin by Antoine on python-dev. 2012-05-26 20:36:12 +01:00
Vinay Sajip 7ded1f0f69 Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00