Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) | Serhiy Storchaka | 2019-03-05 | 1 | -4/+3 |
| | |||||
* | fixed duplicated method name of test_getuserbase() (GH-12140) | native-api | 2019-03-03 | 1 | -1/+3 |
| | |||||
* | bpo-33306: Improve SyntaxError messages for unbalanced parentheses. (GH-6516) | Serhiy Storchaka | 2018-12-17 | 1 | -2/+2 |
| | |||||
* | bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) | Victor Stinner | 2018-12-05 | 1 | -0/+37 |
| | | | | | | | * posixpath.expanduser() now returns the input path unchanged if the HOME environment variable is not set and pwd.getpwuid() raises KeyError (the current user identifier doesn't exist in the password database). * Add test_no_home_directory() to test_site. | ||||
* | bpo-30167: Add test for module.__cached__ is None (GH-7617) | INADA Naoki | 2018-10-01 | 1 | -0/+11 |
| | |||||
* | bpo-34011: Fixes missing venv files and other tests (GH-9458) | Steve Dower | 2018-09-20 | 1 | -35/+43 |
| | |||||
* | bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant ↵ | Serhiy Storchaka | 2018-09-18 | 1 | -7/+5 |
| | | | | | | | | | | to invalid paths. (#7695) Such functions as os.path.exists(), os.path.lexists(), os.path.isdir(), os.path.isfile(), os.path.islink(), and os.path.ismount() now return False instead of raising ValueError or its subclasses UnicodeEncodeError and UnicodeDecodeError for paths that contain characters or bytes unrepresentative at the OS level. | ||||
* | Use assertTrue() instead of deprecated assert_(). (#5526) | Serhiy Storchaka | 2018-02-04 | 1 | -1/+1 |
| | |||||
* | bpo-28440: Don't add /Library/Python/3.x/site-packages to sys.path (#5445) | Ned Deily | 2018-01-30 | 1 | -14/+2 |
| | | | | | | | | No longer add /Library/Python/3.x/site-packages, the Apple-supplied system Python site-packages directory, to sys.path for macOS framework builds in case Apple ships a version of Python 3. A similar change was made earlier to Python 2.7 where it was found that the coupling between the system Python and a user-installed framework Python often caused confusion or pip install failures. | ||||
* | bpo-32297: Few misspellings found in Python source code comments. (#4803) | Mike | 2017-12-14 | 1 | -1/+1 |
| | | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py | ||||
* | bpo-29585: fix test fail on macOS Framework build (GH-2928) | INADA Naoki | 2017-07-28 | 1 | -1/+5 |
| | |||||
* | bpo-28095: Re-enable temporarily disabled part of test_startup_imports on ↵ | Ned Deily | 2017-07-28 | 1 | -3/+1 |
| | | | | | | | | macOS (#2927) The changes for bpo-29585 eliminate the extra imports on macOS that caused the original test failure. This reverts commit 8a2150aae6db4d664c96a038ef6abacd4bcbcdc9. | ||||
* | bpo-29585: optimize site.py startup time (GH-136) | INADA Naoki | 2017-06-28 | 1 | -0/+7 |
| | | | | Avoid importing `sysconfig` from `site` by copying minimum code. Python startup is 5% faster on Linux and 30% faster on macOS | ||||
* | Improves test_underpth_nosite_file to reveal why it fails. (#1763) | Steve Dower | 2017-05-23 | 1 | -6/+10 |
| | | | | | | | | | | | | | | * Improves test_underpth_nosite_file to reveal why it fails. * Enable building with Windows 10 SDK. * Fix WinSDK detection * Fix initialization on Windows when a ._pth file exists. * Fix tabs * Adds comment about Py_GetPath call. | ||||
* | bpo-22257: Small changes for PEP 432. (#1728) | Eric Snow | 2017-05-23 | 1 | -3/+6 |
| | | | PEP 432 specifies a number of large changes to interpreter startup code, including exposing a cleaner C-API. The major changes depend on a number of smaller changes. This patch includes all those smaller changes. | ||||
* | bpo-29763: Clean up _pth tests (GH-954) | Zachary Ware | 2017-05-14 | 1 | -46/+31 |
| | |||||
* | bpo-30108: Restore sys.path in test_site (#1197) | Victor Stinner | 2017-04-20 | 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. | ||||
* | Revert "bpo-29763: Use unittest cleanup in test_site (GH-841)" (GH-942) | Zachary Ware | 2017-04-01 | 1 | -34/+45 |
| | | | This reverts commit b94d7fd4efa877d649cea9c8125c8869ffe0c32d. | ||||
* | bpo-29763: Use unittest cleanup in test_site (GH-841) | Zachary Ware | 2017-04-01 | 1 | -45/+34 |
| | |||||
* | bpo-29763: Use support.unlink instead of os.unlink (GH-624) | 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 |
| | |