Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX | Martin Panter | 2015-11-20 | 1 | -6/+9 |
| | | | | | | | | | | | | | | The underlying zlib library stores sizes in “unsigned int”. The corresponding Python parameters are all sizes of buffers filled in by zlib, so it is okay to reduce higher values to the UINT_MAX internal cap. OverflowError is still raised for sizes that do not fit in Py_ssize_t. Sizes are now limited to Py_ssize_t rather than unsigned long, because Python byte strings cannot be larger than Py_ssize_t. Previously this could result in a SystemError on 32-bit platforms. This resolves a regression in the gzip module when reading more than UINT_MAX or LONG_MAX bytes in one call, introduced by revision 62723172412c. | ||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Fix remaining tests and remove an unused import. | Berker Peksag | 2015-05-06 | 1 | -1/+1 |
| | | |||||
* | | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -0/+244 |
| | | | | | | | | Patch by Christie Wilson. | ||||
* | | issue9859: Document test.support.detect_api_mismatch() and simplify its test. | Gregory P. Smith | 2015-04-14 | 1 | -1/+1 |
| | | |||||
* | | issue9859: Adds a test.support.detect_api_mismatch function useful to | Gregory P. Smith | 2015-04-14 | 1 | -1/+16 |
| | | | | | | | | compare the public APIs of two modules or classes. | ||||
* | | Issue #23731: Implement PEP 488. | Brett Cannon | 2015-04-13 | 1 | -12/+8 |
| | | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied. | ||||
* | | Skip nntplib tests when transient errors captured. | Berker Peksag | 2015-04-08 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | Skip nntplib tests when transient errors captured. | Berker Peksag | 2015-04-08 | 1 | -0/+5 |
| | | |||||
* | | Escaped backslashes in docstrings. | Serhiy Storchaka | 2015-04-03 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Escaped backslashes in docstrings. | Serhiy Storchaka | 2015-04-03 | 1 | -3/+3 |
| | | |||||
* | | Issue #23799: Added test.support.start_threads() for running and cleaning up | Serhiy Storchaka | 2015-04-01 | 1 | -1/+38 |
|\ \ | |/ | | | | | multiple threads. | ||||
| * | Issue #23799: Added test.support.start_threads() for running and cleaning up | Serhiy Storchaka | 2015-04-01 | 1 | -1/+38 |
| | | | | | | | | multiple threads. | ||||
* | | Merge 3.4 (test.support) | Victor Stinner | 2015-03-27 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #23445: Fix test.support.python_is_optimized() for CFLAGS=-Og | Victor Stinner | 2015-03-27 | 1 | -1/+1 |
| | | | | | | | | -Og does not optimize the C code, it's just "fast debugging". | ||||
* | | Issue #22289: merge from 3.4 | Ned Deily | 2015-03-22 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout. | Ned Deily | 2015-03-22 | 1 | -1/+2 |
| | | |||||
* | | Issue #20876: correctly close temporary file in ↵ | Antoine Pitrou | 2015-03-07 | 1 | -10/+9 |
|\ \ | |/ | | | | | test.support.fs_is_case_insensitive() | ||||
| * | Issue #20876: correctly close temporary file in ↵ | Antoine Pitrou | 2015-03-07 | 1 | -10/+9 |
| | | | | | | | | test.support.fs_is_case_insensitive() | ||||
* | | Issue #23387: Skip test_issue16464 if it raises an 5xx error. | Berker Peksag | 2015-03-02 | 1 | -0/+2 |
|\ \ | |/ | | | | | | | Also, remove support.run_doctest() since there is no doctests in test_urllib2 and urllib.request. | ||||
| * | Issue #23387: Skip test_issue16464 if it raises an 5xx error. | Berker Peksag | 2015-03-02 | 1 | -0/+2 |
| | | | | | | | | | | Also, remove support.run_doctest() since there is no doctests in test_urllib2 and urllib.request. | ||||
* | | Issue 23314: SuppressCrashReports now disables CRT assertions | Steve Dower | 2015-02-23 | 1 | -0/+27 |
| | | | | | | | | SuppressCrashReports should be used in test subprocesses that test invalid conditions. | ||||
* | | Issue #17554: Print "fetching <url> ..." messages only in verbose mode. | Berker Peksag | 2014-12-10 | 1 | -1/+2 |
|/ | | | | Patch by Ezio Melotti. | ||||
* | handle errors without a reason attribute | Benjamin Peterson | 2014-11-25 | 1 | -1/+1 |
| | |||||
* | don't fail tests when www.python.org can't be validated by the system | Benjamin Peterson | 2014-11-25 | 1 | -0/+12 |
| | |||||
* | Try to transfer the Unicode test data files gzipped. | Georg Brandl | 2014-11-06 | 1 | -1/+6 |
| | |||||
* | Issue #22770: Prevent some Tk segfaults on OS X when running gui tests. | Ned Deily | 2014-11-02 | 1 | -3/+2 |
| | | | | | | | When running tests in subprocesses with the regrtest -j option, a bug in Cocoa Tk can result in a Tcl segfault. Avoid the problem by forcing Tk to fully initialize as an OS X gui process before destroying the Tcl instance and creating another. (Original patch by Serhiy Storchaka) | ||||
* | Issue #22596: support.transient_internet() now also catches | Berker Peksag | 2014-10-25 | 1 | -0/+3 |
| | | | | | | ConnectionRefusedError exceptions wrapped by urllib.error.URLError. This change should fix sporadic failures in test_urllib2net. | ||||
* | Issue #22002: Make full use of test discovery in test sub-packages. | Zachary Ware | 2014-07-23 | 1 | -1/+20 |
| | | | | | | Adds `load_package_tests` function to test.support, uses it in test_asyncio, test_email, test_json, test_tools, test_importlib and all test_importlib sub-packages to implement test discovery. | ||||
* | Issue #19629: Add missing "import stat" | Victor Stinner | 2014-07-21 | 1 | -12/+13 |
| | | | | Sort also imports in support/__init__.py | ||||
* | Issue #19629: Fix support.rmtree(), use os.lstat() to check if the file is a | Victor Stinner | 2014-07-21 | 1 | -1/+7 |
| | | | | directory, not os.path.isdir() | ||||
* | Issue #18492: Allow all resources when tests are not run by regrtest.py. | Zachary Ware | 2014-06-02 | 1 | -13/+7 |
| | | | | This changeset also includes cleanup allowed by this behavior change. | ||||
* | Issue #18604: Skip the Tk instantiation test on OS X because it can | Ned Deily | 2014-05-04 | 1 | -1/+3 |
| | | | | | cause GUI tests to segfault in Cocoa Tk when run under regrtest -j (multiple threads running subprocesses). | ||||
* | Issue #18604: Consolidated checks for GUI availability. | Zachary Ware | 2014-05-02 | 1 | -12/+55 |
| | | | | | | | | | test_support._is_gui_available is now defined the same way on every platform, and now includes the Windows-specific check that had been in the Windows version of _is_gui_available and the OSX-specific check that was in tkinter.test.support.check_tk_availability. Also, every platform checks whether Tk can be instantiated (if the platform-specific checks passed). | ||||
* | Issue #20667: KqueueEventLoopTests.test_read_pty_output() hangs also on ↵ | Victor Stinner | 2014-02-18 | 1 | -10/+0 |
| | | | | OpenBSD 5.5. | ||||
* | Issue #20667: test_asyncio: Skip KqueueEventLoopTests.test_read_pty_output() on | Victor Stinner | 2014-02-18 | 1 | -0/+10 |
| | | | | OpenBSD older than 5.5 | ||||
* | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -1/+2 |
|\ | |||||
| * | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -1/+1 |
| | | |||||
* | | Issue #18874: Implement the PEP 454 (tracemalloc) | Victor Stinner | 2013-11-23 | 1 | -0/+19 |
| | | |||||
* | | Issue #19718: Add a case-insensitive FS check to test.support to use | Brett Cannon | 2013-11-22 | 1 | -1/+15 |
| | | | | | | | | | | | | | | in test_pathlib. Purposefully designed to work from a specified directory in case multiple file systems are used on the system. | ||||
* | | Fix test.support.bind_port() to not cause an error when Python was compiled | Gregory P. Smith | 2013-11-17 | 1 | -3/+9 |
|\ \ | |/ | | | | | | | on a system with SO_REUSEPORT defined in the headers but run on a system with an OS kernel that does not support that reasonably new socket option. | ||||
| * | Fix test.support.bind_port() to not cause an error when Python was compiled | Gregory P. Smith | 2013-11-17 | 1 | -3/+9 |
| | | | | | | | | | | on a system with SO_REUSEPORT defined in the headers but run on a system with an OS kernel that does not support that reasonably new socket option. | ||||
* | | test.support: considering the module is a mix of utilities unrelated with ↵ | Giampaolo Rodola' | 2013-11-12 | 1 | -18/+36 |
| | | | | | | | | each other divide __all__ in sub-sections so that it can be used as a quick-reference doc | ||||
* | | Mitigate #19412: restore test skips for --without-doc-strings | Nick Coghlan | 2013-10-27 | 1 | -1/+6 |
| | | |||||
* | | Issue #19330: Handle the no-docstrings case in tests | Nick Coghlan | 2013-10-26 | 1 | -3/+7 |
| | | |||||
* | | Issue #18948: improve SuppressCoreFiles to include Windows crash popup ↵ | Antoine Pitrou | 2013-10-08 | 1 | -62/+62 |
| | | | | | | | | | | | | suppression, and use it in more tests. Patch by Valerie Lambert and Zachary Ware. | ||||
* | | Merge #18952 fix from 3.3 | Nick Coghlan | 2013-09-08 | 1 | -12/+19 |
|\ \ | |/ | |||||
| * | Close #18952: correctly download test support data | Nick Coghlan | 2013-09-08 | 1 | -12/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | When test.support was converted to a package, it started silently skipping the tests which needed to download support data to run. This change refactors the affected code, and also tidies up test.support.findfile to remove the unused *here* parameter, document the *subdir* parameter and rename the *filename* parameter to avoid shadowing the file builtin and be consistent with the documentation. The unexpected skips were noticed and reported by Zachary Ware | ||||
| * | Merge. | Charles-François Natali | 2013-08-29 | 1 | -2/+8 |
| |\ |