Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30207: Rename test.test_support to test.support. (#1353) | Serhiy Storchaka | 2017-04-30 | 1 | -1756/+2 |
| | | | | | | | | To simplify backports from Python 3, the test.test_support module was converted into a package and renamed to test.support. The test.script_helper module was moved into the test.support package. Names test.test_support and test.script_helper are left as aliases to test.support and test.support.script_helper. | ||||
* | [2.7] bpo-30197: Enhance swap_attr() and backport swap_item() in ↵ | Serhiy Storchaka | 2017-04-28 | 1 | -2/+37 |
| | | | | | | test.test_support. (#1341) (#1347) (cherry picked from commit d1a1def7bf221b04dcf3fc3a67aa19aa2f622f83) | ||||
* | Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and ↵ | Antoine Pitrou | 2016-12-19 | 1 | -0/+10 |
| | | | | | | | | WeakValueDictionary.pop() when a GC collection happens in another thread. Original patch and report by Armin Rigo. | ||||
* | Try to fix test.test_support.rmtree() on Windows for fixing issue28847 tests. | Serhiy Storchaka | 2016-12-03 | 1 | -2/+2 |
| | |||||
* | Issue #28666: Fix stat import | Martin Panter | 2016-11-20 | 1 | -1/+1 |
| | |||||
* | Issue #28666: Fix removing readonly directories on Windows. | Serhiy Storchaka | 2016-11-20 | 1 | -1/+1 |
| | |||||
* | Issue #28666: Now test.test_support.rmtree is able to remove unwritable or | Serhiy Storchaka | 2016-11-20 | 1 | -15/+16 |
| | | | | unreadable directories on Windows too. | ||||
* | Issue #28666: Now test.support.rmtree is able to remove unwritable or | Serhiy Storchaka | 2016-11-20 | 1 | -1/+32 |
| | | | | unreadable directories. | ||||
* | Issue #27918# test.resource.is_gui_available no longer flashes tk window. | Terry Jan Reedy | 2016-09-05 | 1 | -2/+3 |
| | | | | Also, don't run it if 'gui' is not requested. Patch by Xiang Zhang. | ||||
* | 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 to fix the grammar. | ||||
* | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 1 | -0/+18 |
| | | | | | Affected classes are generic sequence iterators, iterators of bytearray, list, tuple, set, frozenset, dict, OrderedDict and corresponding views. | ||||
* | Issue #6478: _strptime's regexp cache now is reset after changing timezone | Serhiy Storchaka | 2015-12-03 | 1 | -1/+34 |
| | | | | with time.tzset(). | ||||
* | Don't encode unicode dirname in test_support.temp_cwd() if unicode file names | Serhiy Storchaka | 2015-09-09 | 1 | -1/+2 |
| | | | | | are supported by the filesystem. On Windows the encoding can convert some characters to '?' that is not legal in file name. | ||||
* | Backport support.change_cwd() and use it in tests. | Serhiy Storchaka | 2015-09-06 | 1 | -0/+27 |
| | |||||
* | Issue #23799: Added test.test_support.start_threads() for running and | Serhiy Storchaka | 2015-04-01 | 1 | -1/+34 |
| | | | | cleaning up multiple threads. | ||||
* | Issue #23458: Skip test_urandom_fd_non_inheritable on OS X 10.4 since | Ned Deily | 2015-03-17 | 1 | -1/+29 |
| | | | | FD_CLOEXEC is not supported there. | ||||
* | use more ugly but hopefully more robust method | Benjamin Peterson | 2014-11-25 | 1 | -1/+1 |
| | |||||
* | 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/+13 |
| | |||||
* | 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) | ||||
* | expect socket.error instead of the py3ism OSError | Benjamin Peterson | 2014-08-20 | 1 | -1/+1 |
| | |||||
* | backport many ssl features from Python 3 (closes #21308) | Benjamin Peterson | 2014-08-20 | 1 | -1/+18 |
| | | | | | A contribution of Alex Gaynor and David Reid with the generous support of Rackspace. May God have mercy on their souls. | ||||
* | Add helpers for testing unicode disabled builds. | Serhiy Storchaka | 2014-07-16 | 1 | -1/+6 |
| | |||||
* | Issue #18492: Allow all resources when tests are not run by regrtest.py. | Zachary Ware | 2014-06-02 | 1 | -11/+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-24 | 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 runtktests.check_tk_availability. Also, every platform checks whether Tk can be instantiated (if the platform-specific checks passed). | ||||
* | Issue #6815: os.path.expandvars() now supports non-ASCII Unicode environment | Serhiy Storchaka | 2014-02-19 | 1 | -0/+46 |
| | | | | variables names and values. | ||||
* | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -1/+1 |
| | |||||
* | Fix test.test_support.bind_port() to not cause an error when Python was | Gregory P. Smith | 2013-11-25 | 1 | -3/+9 |
| | | | | | compiled on a system with SO_REUSEPORT defined in the headers but run on a system with an OS kernel that does not support that new socket option. | ||||
* | Issue #17883: Backport test.test_support._is_gui_available() | Zachary Ware | 2013-11-04 | 1 | -0/+34 |
| | | | | This should stop the Windows buildbots from hanging on test_ttk_guionly. | ||||
* | Issue #18643: Fix some test_socket failures due to large default socket buffer | Charles-François Natali | 2013-08-29 | 1 | -2/+8 |
| | | | | sizes. | ||||
* | Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as ↵ | Antoine Pitrou | 2013-08-21 | 1 | -1/+6 |
| | | | | possible, since "localhost" goes through a DNS lookup under recent Windows versions. | ||||
* | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -2/+2 |
| | |||||
* | Issue #17835: Fix test_io when the default OS pipe buffer size is larger ↵ | Antoine Pitrou | 2013-04-24 | 1 | -0/+9 |
| | | | | than one million bytes. | ||||
* | Issue #12098 : Fix a missing import in the unittests. | Kristján Valur Jónsson | 2013-03-20 | 1 | -0/+1 |
| | |||||
* | Issue #12098: multiprocessing on Windows now starts child processes | Kristján Valur Jónsson | 2013-03-19 | 1 | -16/+1 |
| | | | | | using the same sys.flags as the current process. Backport from default branch. | ||||
* | Issue #5308: Raise ValueError when marshalling too large object (a sequence | Serhiy Storchaka | 2013-02-13 | 1 | -6/+7 |
| | | | | with size >= 2**31), instead of producing illegal marshal data. | ||||
* | Issue #16800: tempfile.gettempdir() no longer left temporary files when | Serhiy Storchaka | 2013-02-12 | 1 | -0/+27 |
| | | | | the disk is full. Original patch by Amir Szekely. | ||||
* | - Issue #17041: Fix testing when Python is configured with the | Serhiy Storchaka | 2013-01-27 | 1 | -4/+10 |
| | | | | --without-doc-strings option. | ||||
* | Adapt test for build --without-doc-strings. | Stefan Krah | 2013-01-26 | 1 | -0/+5 |
| | |||||
* | Fix #15496. Add directory removal helpers to make Windows tests more ↵ | Brian Curtin | 2012-08-13 | 1 | -2/+66 |
| | | | | reliable. Patch by Jeremy Kloth | ||||
* | Issue #15467: Move helpers for __sizeof__ tests into test_support. | Martin v. Löwis | 2012-07-29 | 1 | -0/+28 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | Try to fix failure of a Windows buildbot to capture name resolution errors. | Antoine Pitrou | 2012-06-25 | 1 | -0/+3 |
| | |||||
* | Issue #8767: Restore building with --disable-unicode. | Martin v. Löwis | 2012-05-20 | 1 | -1/+1 |
| | | | | Original patch by Stefano Taschini. | ||||
* | merge 2.6 with hash randomization fix | Benjamin Peterson | 2012-02-21 | 1 | -2/+2 |
|\ | |||||
| * | - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED | Barry Warsaw | 2012-02-21 | 1 | -1/+11 |
| | | | | | | | | | | | | environment variable, to provide an opt-in way to protect against denial of service attacks due to hash collisions within the dict and set types. Patch by David Malcolm, based on work by Victor Stinner. | ||||
| * | Merged revisions 78769,79049 via svnmerge from | Ezio Melotti | 2010-08-02 | 1 | -8/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78769 | florent.xicluna | 2010-03-07 21:14:12 +0200 (Sun, 07 Mar 2010) | 2 lines Refresh the documentation for the test.test_support module. ........ r79049 | florent.xicluna | 2010-03-18 21:51:47 +0200 (Thu, 18 Mar 2010) | 2 lines #8155: Preserve backward compatibility for test_support.check_warnings(). Add regression tests. ........ | ||||
| * | Merged revisions 78815 via svnmerge from | Ezio Melotti | 2010-08-02 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78815 | florent.xicluna | 2010-03-09 21:57:01 +0200 (Tue, 09 Mar 2010) | 2 lines #7772: Fix test_py3kwarn. Now the test suite could pass with "-3" flag. ........ | ||||
| * | Merged revisions 78758 via svnmerge from | Ezio Melotti | 2010-08-02 | 1 | -9/+90 |
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78758 | florent.xicluna | 2010-03-07 14:18:33 +0200 (Sun, 07 Mar 2010) | 4 lines Issue #7849: Now the utility ``check_warnings`` verifies if the warnings are effectively raised. A new utility ``check_py3k_warnings`` deals with py3k warnings. ........ | ||||
| * | Revert r77730 and add back verify and vereq in case other projects use them, ↵ | Ezio Melotti | 2010-01-25 | 1 | -1/+25 |
| | | | | | | | | but leave the changes in test_pprint and string_tests. |