summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21636: Fix test_logging, skip UNIX stream (AF_UNIX) tests on Windows.Victor Stinner2014-06-021-10/+12
| | | | Patch written by Claudiu Popa.
* Issue #21634: Fix pystone micro-benchmark: use floor division instead of trueVictor Stinner2014-06-021-3/+10
| | | | | division to benchmark integers instead of floating point numbers. Set pystone version to 1.2. Patch written by Lennart Regebro.
* Skip test_subprocess test_close_fds_when_max_fd_is_lowered on FreeBSDGregory P. Smith2014-06-011-0/+3
| | | | when fdescfs is not mounted on /dev/fd.
* Attempt to fix the "too many open files" errors on several of theGregory P. Smith2014-06-011-4/+6
| | | | | buildbots that the new test_close_fds_when_max_fd_is_lowered test causes. It now leaves 10 more low fd's available.
* Explicitly wait for the child instead of letting a destructor do it.Gregory P. Smith2014-06-011-1/+1
|
* Don't restrict ourselves to a "max" fd when closing fds before exec()Gregory P. Smith2014-06-011-0/+53
| | | | | | | | | when we have a way to get an actual list of all open fds from the OS. Fixes issue #21618: The subprocess module would ignore fds that were inherited by the calling process and already higher than POSIX resource limits would otherwise allow. On systems with a functioning /proc/self/fd or /dev/fd interface the max is now ignored and all fds are closed.
* Test correct getXXX methods in Tkinter bigmem tests.Serhiy Storchaka2014-05-301-3/+3
| | | | Tk.getint is just int, true Tk wrapper is available as Tk.tk.getint.
* Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+26
| | | | the tkinter module on 64-bit platforms.
* Add tests for getint, getdouble and getboolean methods of the tkapp object.Serhiy Storchaka2014-05-301-0/+44
|
* Fix issue #14315: The zipfile module now ignores extra fields in the centralGregory P. Smith2014-05-301-0/+15
| | | | | | directory that are too short to be parsed instead of letting a struct.unpack error bubble up as this "bad data" appears in many real world zip files in the wild and is ignored by other zip tools.
* Issue #21493: Added test for ntpath.expanduser(). Original patch bySerhiy Storchaka2014-05-281-0/+35
| | | | Claudiu Popa.
* Fix for raising exception not derived from BaseException in ↵Andrew Svetlov2014-05-271-0/+4
| | | | _SelectorSslTransport.resume_reading
* Issue #21481: Teach argparse equality tests to return NotImplemented when ↵Raymond Hettinger2014-05-261-0/+6
| | | | comparing to unknown types.
* Issue 8743: Improve interoperability between sets and the collections.Set ↵Raymond Hettinger2014-05-261-4/+156
| | | | abstract base class.
* Issue 13355: Make random.triangular degrade gracefully when low == high.Raymond Hettinger2014-05-261-1/+1
|
* Issue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok.Serhiy Storchaka2014-05-251-0/+60
|
* Issue #14710: Fix both pkgutil.find_loader() and get_loader() to notBrett Cannon2014-05-231-0/+14
| | | | | | raise an exception when a module doesn't exist. Thanks to Pavel Aslanov for the bug report.
* Issue #21538: The plistlib module now supports loading of binary plist filesSerhiy Storchaka2014-05-231-0/+12
| | | | when reference or offset size is not a power of two.
* Issue #21523: Fix over-pessimistic computation of the stack effect of some ↵Antoine Pitrou2014-05-231-3/+39
| | | | | | | opcodes in the compiler. This also fixes a quadratic compilation time issue noticeable when compiling code with a large number of "and" and "or" operators.
* asyncio: test_base_events: use mock.Mock instead of unittest.mock.Mock toVictor Stinner2014-05-201-1/+1
| | | | simplify the synchronization with Trollius
* Issue #20998: Fixed re.fullmatch() of repeated single character patternSerhiy Storchaka2014-05-141-0/+5
| | | | with ignore case. Original patch by Matthew Barnett.
* Issue #21075: fileinput.FileInput now reads bytes from standard stream ifSerhiy Storchaka2014-05-141-1/+9
| | | | binary mode is specified. Patch by Sam Kimbrel.
* Issue #21497: faulthandler functions now raise a better error if sys.stderr isVictor Stinner2014-05-141-0/+25
| | | | | None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType' object has no attribute 'fileno'").
* Backed out changeset 6ceedbd88b5fVictor Stinner2014-05-141-12/+0
|
* Issue #21488: Add support of keyword arguments for codecs.encode and ↵Victor Stinner2014-05-141-0/+12
| | | | codecs.decode
* Issue #21499: Ignore __builtins__ in several test_importlib.test_api tests.Eric Snow2014-05-131-7/+8
|
* Fix test-order-dependend asyncio test failure caused by rev ↵Guido van Rossum2014-05-131-6/+9
| | | | 909ea8cc86bbab92dbb6231668f403b7360f30fa.
* - Issue #17756: Fix test_code test when run from the installed location.doko@ubuntu.com2014-05-131-1/+1
|
* Issue #21422: Add a test to check that bool << int and bool >> int return an intVictor Stinner2014-05-121-0/+7
|
* asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if ↵Guido van Rossum2014-05-121-0/+36
| | | | data exceeds buffer limit.
* Try to fix issue #21425 workaround for shared library buildsAntoine Pitrou2014-05-111-2/+2
|
* Fix printing out error message when test fails and run with -bbAntoine Pitrou2014-05-111-1/+1
|
* Try workaround for test issues in #21425Antoine Pitrou2014-05-111-0/+8
|
* Issue #21425: Fix flushing of standard streams in the interactive interpreter.Antoine Pitrou2014-05-112-2/+51
|
* Issue #21435: Segfault in gc with cyclic trashTim Peters2014-05-081-0/+32
| | | | | Changed the iteration logic in finalize_garbage() to tolerate objects vanishing from the list as a side effect of executing a finalizer.
* Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a ↵Antoine Pitrou2014-05-082-0/+33
| | | | | | flush() on the underlying binary stream. Patch by akira.
* asyncio: Fix the second half of issue #21447: race in _write_to_self().Guido van Rossum2014-05-061-2/+3
|
* Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0.Larry Hastings2014-05-041-0/+30
| | | | In porting to Argument Clinic, the first two arguments were reversed.
* Issue #18604: Skip the Tk instantiation test on OS X because it canNed Deily2014-05-041-1/+3
| | | | | cause GUI tests to segfault in Cocoa Tk when run under regrtest -j (multiple threads running subprocesses).
* use with blocks to make sure files are closedBenjamin Peterson2014-05-041-18/+12
|
* improve test coverage of filecmp (closes #21357)Benjamin Peterson2014-05-041-5/+75
| | | | Patch by Diana Clarke.
* Issue #18604: Consolidated checks for GUI availability.Zachary Ware2014-05-024-29/+58
| | | | | | | | | 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 #21374: Fix pickling of DecimalTuple.Stefan Krah2014-04-291-0/+17
|
* Closes issue #21316: mark test_devpoll to be meaningfull only for SolarisJesus Cea2014-04-291-4/+2
|
* Issue #21321: itertools.islice() now releases the reference to the source ↵Antoine Pitrou2014-04-291-2/+11
| | | | | | iterator when the slice is exhausted. Patch by Anton Afanasyev.
* Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵Antoine Pitrou2014-04-281-0/+20
| | | | raises a TypeError.
* asyncio: Add __weakref__ slots to Handle and CoroWrapper. Upstream issue #166.Guido van Rossum2014-04-272-0/+14
|
* make operations on closed dumb databases raise a consistent exception ↵Benjamin Peterson2014-04-261-4/+25
| | | | | | (closes #19385) Patch by Claudiu Popa.
* Issue #21207: Detect when the os.urandom cached fd has been closed or ↵Antoine Pitrou2014-04-261-0/+43
| | | | replaced, and open it anew.
* Issue #21346: Fix typo, make message consistent in test_itertools.Zachary Ware2014-04-241-1/+1
| | | | Pointed out by Brian Kearns.