Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #16218, #16444: Backport improvment on tests for non-ASCII characters | Victor Stinner | 2012-11-12 | 1 | -0/+75 |
| | |||||
* | compare singletons by identity not equality (closes #16712) | Benjamin Peterson | 2012-10-09 | 1 | -1/+1 |
| | | | | Patch from Serhiy Storchaka. | ||||
* | #15304: merge with 3.2. | Ezio Melotti | 2012-09-21 | 1 | -1/+1 |
|\ | |||||
| * | #15304: fix wrong warning message in test.support.temp_cwd(). | Ezio Melotti | 2012-09-21 | 1 | -1/+1 |
| | | |||||
* | | Merge 3.2 | Brian Curtin | 2012-08-13 | 1 | -2/+66 |
|\ \ | |/ | |||||
| * | 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: Merge 3.2 | Martin v. Löwis | 2012-07-29 | 1 | -0/+28 |
|\ \ | |/ | |||||
| * | Issue #15467: Move helpers for __sizeof__ tests into test_support. | Martin v. Löwis | 2012-07-29 | 1 | -0/+28 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | #15277: Fix a resource leak in support.py when IPv6 is disabled. | Ross Lagerwall | 2012-07-07 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | The leak occurred by setting: echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 before running test_support. Patch by Brian Brazil. | ||||
* | | Issue #14626: Large refactoring of functions / parameters in the os module. | Larry Hastings | 2012-06-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | Many functions now support "dir_fd" and "follow_symlinks" parameters; some also support accepting an open file descriptor in place of of a path string. Added os.support_* collections as LBYL helpers. Removed many functions only previously seen in 3.3 alpha releases (often starting with "f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka; implemented by Larry Hastings. | ||||
* | | Issue #13841: Make child processes exit using sys.exit() on Windows | Richard Oudkerk | 2012-06-14 | 1 | -1/+1 |
| | | |||||
* | | #14885: Make support.skip_unless_xattr check also tempfile | Hynek Schlawack | 2012-05-23 | 1 | -10/+18 |
| | | | | | | | | | | | | | | | | | | There is a rare edge case where the filesystem used by the tempfile functions (usually /tmp) doesn't support xattrs while the one used by TESTFN (the current directory, so likely to be below /home) does. This causes the xattr related test_shutil tests fail. skip_unless_xattr now checks both. I have also added skip_unless_xattr to __all__ where it has been missing. | ||||
* | | Move private function _args_from_interpreter_flags() to subprocess.py, so | Antoine Pitrou | 2012-05-18 | 1 | -2/+1 |
| | | | | | | | | | | that it can be imported when threads are disabled. (followup to issue #12098) | ||||
* | | #12098: Make multiprocessing's child processes inherit sys.flags on Windows | Richard Oudkerk | 2012-05-18 | 1 | -18/+2 |
| | | | | | | | | Initial patch by Sergey Mezentsev. | ||||
* | | Issue #14366: Support lzma compression in zip files. | Martin v. Löwis | 2012-05-13 | 1 | -1/+8 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Issue #14082: shutil.copy2() now copies extended attributes, if possible. | Antoine Pitrou | 2012-05-12 | 1 | -0/+29 |
| | | | | | | | | Patch by Hynek Schlawack. | ||||
* | | Issue #14371: Support bzip2 in zipfile module. | Martin v. Löwis | 2012-05-01 | 1 | -1/+8 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | merged | Alexander Belopolsky | 2012-04-29 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | fixed test_imaplib failure on Win | Alexander Belopolsky | 2012-04-29 | 1 | -1/+5 |
| | | |||||
* | | Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near | Alexander Belopolsky | 2012-04-29 | 1 | -1/+30 |
|\ \ | |/ | | | | | the DST transition. Patch by Joe Peterson. | ||||
| * | Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near | Alexander Belopolsky | 2012-04-29 | 1 | -1/+30 |
| | | | | | | | | the DST transition. Patch by Joe Peterson. | ||||
* | | Issue #14154: Reimplement the bigmem test memory watchdog as a subprocess. | Charles-François Natali | 2012-03-24 | 1 | -56/+10 |
| | | |||||
* | | Issue #7652: Integrate the decimal floating point libmpdec library to speed | Stefan Krah | 2012-03-21 | 1 | -2/+2 |
| | | | | | | | | | | up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application. | ||||
* | | Issue #14107: test: Fix a deadlock involving the memory watchdog thread. | Charles-François Natali | 2012-02-26 | 1 | -0/+10 |
| | | |||||
* | | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Make "regrtest -j" "-R"-aware | Antoine Pitrou | 2012-02-20 | 1 | -0/+1 |
| | | |||||
* | | Issue #13453: Catch EAI_FAIL in support.transient_internet. | Charles-François Natali | 2011-12-10 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #13453: Catch EAI_FAIL in support.transient_internet. | Charles-François Natali | 2011-12-10 | 1 | -0/+1 |
| | | |||||
* | | Update skip message printed by test.support.get_attribute. | Éric Araujo | 2011-10-04 | 1 | -2/+1 |
| | | | | | | | | | | | | This helper was changed to work with any object instead of only modules (or technically something with a __name__ attribute, see code in 3.2) but the message stayed as is. | ||||
* | | Collect stats a bit more often | Antoine Pitrou | 2011-10-04 | 1 | -1/+1 |
| | | |||||
* | | Use the faulthandler module's infrastructure to write a GIL-less | Antoine Pitrou | 2011-10-04 | 1 | -43/+66 |
| | | | | | | | | memory watchdog for timely stats collection. | ||||
* | | Start fixing test_bigmem: | Antoine Pitrou | 2011-10-04 | 1 | -36/+61 |
|\ \ | |/ | | | | | | | - bigmemtest is replaced by precisionbigmemtest - add a poor man's watchdog thread to print memory consumption | ||||
| * | Start fixing test_bigmem: | Antoine Pitrou | 2011-10-04 | 1 | -31/+61 |
| | | | | | | | | | | - bigmemtest is replaced by precisionbigmemtest - add a poor man's watchdog thread to print memory consumption | ||||
* | | Introduce support.requires_freebsd_version decorator. | Charles-François Natali | 2011-10-03 | 1 | -12/+28 |
| | | |||||
* | | Close issue 12958 by flagging expected failures in test_socket on Mac OS X | Nick Coghlan | 2011-09-19 | 1 | -0/+12 |
| | | |||||
* | | Remove misleading comment and code. | Antoine Pitrou | 2011-08-30 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows does set the errno attribute to ENOENT, but the error message displays the Windows error number (3 -> ERROR_PATH_NOT_FOUND), not the errno number (2 -> ENOENT). The Unix errno corresponding to 3 is ESRCH, explaining the confusion, which can be seen in the following snippet: >>> shutil.rmtree("foo") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "Z:\default\lib\shutil.py", line 272, in rmtree onerror(os.listdir, path, sys.exc_info()) File "Z:\default\lib\shutil.py", line 270, in rmtree names = os.listdir(path) WindowsError: [Error 3] The system cannot find the path specified: 'foo\\*.*' >>> e = sys.last_value >>> e.errno 2 >>> e.winerror 3 >>> errno.errorcode[2] 'ENOENT' For reference, see PC/errmap.h and http://msdn.microsoft.com/en-us/library/ms681382%28v=vs.85%29.aspx | ||||
* | | Issue #11564: Avoid crashes when trying to pickle huge objects or containers | Antoine Pitrou | 2011-08-29 | 1 | -5/+6 |
|\ \ | |/ | | | | | (more than 2**31 items). Instead, in most cases, an OverflowError is raised. | ||||
| * | Issue #11564: Avoid crashes when trying to pickle huge objects or containers | Antoine Pitrou | 2011-08-29 | 1 | -5/+6 |
| | | | | | | | | (more than 2**31 items). Instead, in most cases, an OverflowError is raised. | ||||
* | | Issue #12326: refactor usage of sys.platform | Victor Stinner | 2011-08-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | * Use str.startswith(tuple): I didn't know this Python feature, Python rocks! * Replace sometimes sys.platform.startswith('linux') with sys.platform == 'linux' * sys.platform doesn't contain the major version on Cygwin on Mac OS X (it's just 'cygwin' and 'darwin') | ||||
* | | Issue #12626: In regrtest, allow to filter tests using a glob filter | Antoine Pitrou | 2011-07-29 | 1 | -0/+22 |
|\ \ | |/ | | | | | | | | | with the `-m` (or `--match`) option. This works with all test cases using the unittest module. This is useful with long test suites such as test_io or test_subprocess. | ||||
| * | Issue #12626: In regrtest, allow to filter tests using a glob filter | Antoine Pitrou | 2011-07-29 | 1 | -0/+22 |
| | | | | | | | | | | | | with the `-m` (or `--match`) option. This works with all test cases using the unittest module. This is useful with long test suites such as test_io or test_subprocess. | ||||
* | | Issue #12624: It is now possible to fail after the first failure when | Antoine Pitrou | 2011-07-23 | 1 | -2/+4 |
|\ \ | |/ | | | | | | | | | running in verbose mode (`-v` or `-W`), by using the `--failfast` (or `-G`) option to regrtest. This is useful with long test suites such as test_io or test_subprocess. | ||||
| * | Issue #12624: It is now possible to fail after the first failure when | Antoine Pitrou | 2011-07-23 | 1 | -2/+4 |
| | | | | | | | | | | | | running in verbose mode (`-v` or `-W`), by using the `--failfast` (or `-G`) option to regrtest. This is useful with long test suites such as test_io or test_subprocess. | ||||
* | | Issue #11049: adding some tests to test.support | Eli Bendersky | 2011-07-23 | 1 | -10/+11 |
| | | | | | | | | Based on original patch by Giampaolo Rodola with contributions from R. David Murray | ||||
* | | Merge from 3.2 | Antoine Pitrou | 2011-07-15 | 1 | -6/+13 |
|\ \ | |/ | |||||
| * | Try harder to reap dangling threads in test.support.reap_threads(). | Antoine Pitrou | 2011-07-15 | 1 | -6/+13 |
| | | |||||
* | | Always use repr for regrtest resources names | Éric Araujo | 2011-07-15 | 1 | -3/+3 |
| | | |||||
* | | add a contextmanager to disable the gc | Benjamin Peterson | 2011-07-14 | 1 | -0/+10 |
| | | |||||
* | | Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary | Antoine Pitrou | 2011-07-09 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | | | failure in name resolution. Should fix a buildbot failure. | ||||
| * | Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary | Antoine Pitrou | 2011-07-09 | 1 | -0/+1 |
| | | | | | | | | | | | | failure in name resolution. Should fix a buildbot failure. |