Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30108: Restore sys.path in test_site (#1197) (#1378) | Victor Stinner | 2017-05-02 | 1 | -8/+21 |
| | | | | | | | Add setUpModule() and tearDownModule() functions to test_site to save/restore sys.path at the module level to prevent warning if the user site directory is created, since site.addsitedir() modifies sys.path. (cherry picked from commit b85c136903c6d2368162f7c4a58f258c9c69ead0) | ||||
* | bpo-29763: Use support.unlink instead of os.unlink (GH-624) (GH-625) | Zachary Ware | 2017-03-12 | 1 | -4/+4 |
| | | | support.unlink waits for the files to be removed before returning | ||||
* | Issue #29326: Ignores blank lines in ._pth files (Patch by Alexey Izbyshev) | Steve Dower | 2017-02-04 | 1 | -13/+27 |
| | |||||
* | Makes test_underpth* tests more robust by copying the executable. | Steve Dower | 2016-10-29 | 1 | -25/+48 |
| | |||||
* | Issue #28522: Fixes mishandled buffer reallocation in getpathp.c | Steve Dower | 2016-10-27 | 1 | -0/+52 |
| | |||||
* | Issue #28192: Adds tests for hook in isolated mode | Steve Dower | 2016-09-17 | 1 | -0/+18 |
| | |||||
* | Issue #28192: Don't import readline in isolated mode | Steve Dower | 2016-09-17 | 1 | -6/+2 |
| | |||||
* | Issue #28095: Temporarily disable part of test_startup_imports on OS X. | Ned Deily | 2016-09-12 | 1 | -1/+3 |
| | |||||
* | Issue #15767: Use ModuleNotFoundError. | Eric Snow | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | Issue #26587: Allow .pth files to specify file paths as well as | Brett Cannon | 2016-04-08 | 1 | -1/+1 |
| | | | | | | | directories. Thanks to Wolfgang Langner for the bug report and initial version of the patch. | ||||
* | Merge 3.5 (test_site) | Victor Stinner | 2016-03-14 | 1 | -2/+7 |
|\ | |||||
| * | Skip test_site if USER_SITE cannot be created | Victor Stinner | 2016-03-14 | 1 | -2/+7 |
| | | | | | | | | | | Issue #17758: Skip test_site if site.USER_SITE directory doesn't exist and cannot be created. | ||||
* | | Issue #25985: sys.version_info is now used instead of sys.version | Serhiy Storchaka | 2016-02-11 | 1 | -2/+3 |
|/ | | | | to format short Python version. | ||||
* | Issue #23911: Fix mixed bytes/strings. | Eric Snow | 2015-05-04 | 1 | -2/+4 |
| | |||||
* | Issue #23911: Move path-based bootstrap code to a separate frozen module. | Eric Snow | 2015-05-03 | 1 | -2/+4 |
| | |||||
* | merge 3.4 | Benjamin Peterson | 2015-02-02 | 1 | -0/+1 |
|\ | |||||
| * | fix tests on systems that can't validate python.org | Benjamin Peterson | 2015-02-02 | 1 | -0/+1 |
| | | |||||
* | | Issue #22215: Now ValueError is raised instead of TypeError when str or bytes | Serhiy Storchaka | 2014-09-06 | 1 | -1/+1 |
| | | | | | | | | argument contains not permitted null character or byte. | ||||
* | | Issue #21711: support for "site-python" directories has now been removed ↵ | Antoine Pitrou | 2014-06-12 | 1 | -5/+3 |
|/ | | | | from the site module (it was deprecated in 3.4). | ||||
* | - Issue #21223: Pass test_site/test_startup_imports when some of the extensions | doko@ubuntu.com | 2014-04-15 | 1 | -1/+2 |
| | | | | are built as builtins. | ||||
* | Issue #20939: remove stray character from comment | Ned Deily | 2014-03-27 | 1 | -1/+1 |
| | |||||
* | Issue #20939: Use www.example.com instead of www.python.org to avoid test | Ned Deily | 2014-03-27 | 1 | -1/+3 |
| | | | | failures when ssl is not present. | ||||
* | Issue #19828: Merge with 3.3 | Zachary Ware | 2013-12-11 | 1 | -9/+8 |
|\ | |||||
| * | Issue #19828: Fixed test_site when the whole suite is run with -S. | Zachary Ware | 2013-12-11 | 1 | -9/+8 |
| | | | | | | | | Also, cleaned up an unused import. | ||||
* | | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue 19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-08 | 1 | -0/+1 |
| | | |||||
* | | merge with 3.3 | Georg Brandl | 2013-10-27 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Skip overzealous test for existence of the online license.html for ↵v3.3.3rc1 | Georg Brandl | 2013-10-27 | 1 | -0/+2 |
| | | | | | | | | pre-release versions. | ||||
* | | Issue #19360: fix test_site when Python is installed into $HOME/.local | Antoine Pitrou | 2013-10-23 | 1 | -2/+8 |
|\ \ | |/ | |||||
| * | Issue #19360: fix test_site when Python is installed into $HOME/.local | Antoine Pitrou | 2013-10-23 | 1 | -2/+8 |
| | | |||||
* | | Issue #19275: Fix test_site failure on OS X due to typo. | Ned Deily | 2013-10-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #19275: Fix test_site on AMD64 Snow Leopard | Christian Heimes | 2013-10-17 | 1 | -2/+3 |
| | | |||||
* | | Issue #19218: Rename collections.abc to _collections_abc in order to speed ↵ | Christian Heimes | 2013-10-13 | 1 | -0/+5 |
| | | | | | | | | up interpreter start | ||||
* | | Issue #19205: _osx_support uses the re module all over the place. Omit the ↵ | Christian Heimes | 2013-10-12 | 1 | -1/+3 |
| | | | | | | | | test for nw. | ||||
* | | Issue #19205: add debugging output for failing test on Snow Leopard | Christian Heimes | 2013-10-12 | 1 | -7/+12 |
| | | |||||
* | | Issue #19209: Remove import of copyreg from the os module to speed up | Christian Heimes | 2013-10-11 | 1 | -1/+4 |
| | | | | | | | | | | | | interpreter startup. stat_result and statvfs_result are now hard-coded to reside in the os module. The patch is based on Victor Stinner's patch. | ||||
* | | Also test that the locale module isn't loaded during normal startup | Christian Heimes | 2013-10-11 | 1 | -0/+2 |
| | | |||||
* | | Issue #19205: Don't import the 're' module in site and sysconfig module to | Christian Heimes | 2013-10-11 | 1 | -0/+15 |
| | | | | | | | | to speed up interpreter start. | ||||
* | | Merge #18206: Fix test for existence of license URL. | R David Murray | 2013-09-14 | 1 | -20/+14 |
|\ \ | |/ | | | | | | | | | This test will fail because a previous attempt to fix a merge error in site.py was incorrect, but the test wasn't running so it wasn't caught. The next commit will fix the site.py bug. | ||||
| * | #18206: Fix test for existence of license URL. | R David Murray | 2013-09-14 | 1 | -23/+15 |
| | | | | | | | | | | | | It now always checks, instead of only when the LICENSE file doesn't exist. It is also protected by the 'network' resource, and uses a HEAD request since we are only doing an existence check. | ||||
* | | merge from 3.3 | Senthil Kumaran | 2013-09-07 | 1 | -1/+25 |
|\ \ | |/ | | | | | | | Fix License URL display and add test to check for license url presence. Fixes issue #18206 Patch contributed by Berker Peksag and py.user | ||||
| * | Fix License URL display and add test to check for license url presence. | Senthil Kumaran | 2013-09-07 | 1 | -2/+26 |
| | | | | | | | | Fixes issue #18206 Patch contributed by Berker Peksag and py.user | ||||
* | | Issue #15767: back out 8a0ed9f63c6e, finishing the removal of | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Update various test modules to use unittest.main() for test discovery | Brett Cannon | 2013-06-13 | 1 | -3/+1 |
| | | | | | | | | instead of manually listing tests for test.support.run_unittest(). | ||||
* | | Issue #15767: Introduce ModuleNotFoundError, a subclass of | Brett Cannon | 2013-06-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ImportError. The exception is raised by import when a module could not be found. Technically this is defined as no viable loader could be found for the specified module. This includes ``from ... import`` statements so that the module usage is consistent for all situations where import couldn't find what was requested. This should allow for the common idiom of:: try: import something except ImportError: pass to be updated to using ModuleNotFoundError and not accidentally mask ImportError messages that should propagate (e.g. issues with a loader). This work was driven by the fact that the ``from ... import`` statement needed to be able to tell the difference between an ImportError that simply couldn't find a module (and thus silence the exception so that ceval can raise it) and an ImportError that represented an actual problem. | ||||
* | | Remove sys.platform == 'riscos' checks from some Python and test files. #16501 | Christian Heimes | 2012-11-18 | 1 | -5/+1 |
| | | |||||
* | | Closes #16135: Removal of OS/2 support | Jesus Cea | 2012-10-05 | 1 | -1/+1 |
|/ | |||||
* | Fix test_site from modifying sysconfig._CONFIG_VARS. | Brett Cannon | 2012-04-04 | 1 | -1/+4 |
| | |||||
* | Issue #10881: Fix test_site failure with OS X framework builds. | Ned Deily | 2012-02-05 | 1 | -10/+13 |
| | |||||
* | Issue #13304: Skip test case if user site-packages disabled (-s or | Ned Deily | 2011-10-31 | 1 | -1/+3 |
| | | | | PYTHONNOUSERSITE). (Patch by Carl Meyer) |