summaryrefslogtreecommitdiff
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19077: tempfile.TemporaryDirectory cleanup no longer fails whenSerhiy Storchaka2014-01-271-47/+39
|\ | | | | | | | | called during shutdown. Emitting resource warning in __del__ no longer fails. Original patch by Antoine Pitrou.
| * Issue #19077: tempfile.TemporaryDirectory cleanup is now most likelySerhiy Storchaka2014-01-271-47/+37
| | | | | | | | | | | | successful when called during nulling out of modules during shutdown. Misleading exception no longer raised when resource warning is emitted during shutdown.
| * Issue #20367: Fix behavior of concurrent.futures.as_completed() for duplicateVictor Stinner2014-01-271-0/+7
| | | | | | | | arguments. Patch by Glenn Langford.
* | Issue #19990: Added tests for the imghdr module.Serhiy Storchaka2014-01-2613-1/+141
|\ \ | |/ | | | | Based on patch by Claudiu Popa.
| * Issue #19990: Added tests for the imghdr module.Serhiy Storchaka2014-01-2613-1/+140
| | | | | | | | Based on patch by Claudiu Popa.
| * Issue #8260: The read(), readline() and readlines() methods ofSerhiy Storchaka2014-01-261-2/+34
| | | | | | | | | | codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
* | Fix issue #20367: concurrent.futures.as_completed() for duplicate arguments.Guido van Rossum2014-01-261-0/+7
| | | | | | | | Patch by Glenn Langford.
* | Issue #8260: The read(), readline() and readlines() methods ofSerhiy Storchaka2014-01-261-2/+34
| | | | | | | | | | codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
* | Close #20105: set __traceback__ when chaining exceptions in CNick Coghlan2014-01-271-0/+1
| |
* | Issue #20358: Tests for curses.window.overlay and curses.window.overwriteLarry Hastings2014-01-251-2/+2
| | | | | | | | no longer specify min{row,col} > max{row,col}.
* | asyncio: Rename {Empty,Full} to {QueueEmpty,QueueFull} and no longer get ↵Guido van Rossum2014-01-251-2/+2
| | | | | | | | them from queue.py.
* | asyncio: Locks refactor: use a separate context manager; remove ↵Guido van Rossum2014-01-251-0/+35
| | | | | | | | Semaphore._locked.
* | Merge latest Tulip into asyncioVictor Stinner2014-01-261-2/+2
| | | | | | | | | | | | - Make the new granularity attribute private - Simplify BaseEventLoop._run_once(): avoid math.ceil(), use simple arithmetic instead
* | Issue #20311: Fix test_telnetlib, set the resolution of the MockSelectorVictor Stinner2014-01-251-0/+4
| |
* | Issue 19944: Fix importlib.find_spec() so it imports parents as needed.Eric Snow2014-01-253-150/+182
| | | | | | | | The function is also moved to importlib.util.
* | asyncio: Don't export BaseEventLoop, BaseSelectorEventLoop norVictor Stinner2014-01-254-8/+12
| | | | | | | | | | | | BaseProactorEventLoop Import them from submodules if you really need them.
* | Update asyncio from the Tulip projectVictor Stinner2014-01-2512-873/+893
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major changes: - StreamReader.readexactly() now raises an IncompleteReadError if the end of stream is reached before we received enough bytes, instead of returning less bytes than requested. - Unit tests use the main asyncio module instead of submodules like events - _UnixWritePipeTransport now also supports character devices, as _UnixReadPipeTransport. Patch written by Jonathan Slenders. - Export more symbols: BaseEventLoop, BaseProactorEventLoop, BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
* | test_selectors: remove unused importsVictor Stinner2014-01-251-1/+1
| |
* | Issue #20311: asyncio: Add a granularity attribute to BaseEventLoop: maximumVictor Stinner2014-01-252-1/+26
| | | | | | | | | | | | between the resolution of the BaseEventLoop.time() method and the resolution of the selector. The granuarility is used in the scheduler to round time and deadline.
* | Issue #20311: selectors: Add a resolution attribute to BaseSelector.Victor Stinner2014-01-251-0/+5
| |
* | Issue #20311: Revert e042ea77a152 and 7ce7295393c2, PollSelector.select() andVictor Stinner2014-01-251-19/+0
| | | | | | | | EpollSelector.select() round again the timeout towards zero
* | (Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e),Victor Stinner2014-01-251-11/+0
|\ \ | |/ | | | | select.epoll.poll() rounds again the timeout towards zero
| * Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeoutVictor Stinner2014-01-251-11/+0
| | | | | | | | towards zero
| * Fix typo.Serhiy Storchaka2014-01-241-1/+1
| |
| * Issue #20384: Fix the test_tarfile test on Windows.Serhiy Storchaka2014-01-241-1/+6
| | | | | | | | On Windows os.open() error message doesn't contain file name.
* | Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-244-37/+75
| | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes.
* | Merge removal of issue 20317 debugging code from 3.3Nick Coghlan2014-01-241-10/+48
|\ \ | |/
| * Issue 20317: Remove debugging code from contextlibNick Coghlan2014-01-241-10/+48
| | | | | | | | | | | | | | - Alex J Burke noticed a debugging raise in the commit that fixed the original bug reported in issue 20317 - this showed that multiple iterations through the affected loop wasn't actually being tested
* | asyncio: wait_for() now cancels the future on timeout. Patch written by GustavoVictor Stinner2014-01-231-15/+14
| | | | | | | | Carneiro.
* | Close #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS XVictor Stinner2014-01-231-0/+3
| | | | | | | | | | older than 10.9 (Maverick). kqueue doesn't support character devices (PTY) on Mac OS X older than 10.9.
* | Fixed test_user_command on OpenSolaris where floats can have different stringSerhiy Storchaka2014-01-231-9/+20
|\ \ | |/ | | | | representation in Tcl and Python.
| * Fixed test_user_command on OpenSolaris where floats can have different stringSerhiy Storchaka2014-01-231-9/+20
| | | | | | | | representation in Tcl and Python.
* | Issue #20311: add debug help in test_selectorsVictor Stinner2014-01-231-2/+5
| |
* | Added test_user_command in test_tcl.Serhiy Storchaka2014-01-231-0/+28
|\ \ | |/ | | | | | | It tests the convertion Tcl values to Python values when Tcl calls a command implemented on Python. Currently all values are passed as strings.
| * Added test_user_command in test_tcl.Serhiy Storchaka2014-01-231-0/+28
| | | | | | | | | | It tests the convertion Tcl values to Python values when Tcl calls a command implemented on Python. Currently all values are passed as strings.
* | Merge #20317 from 3.3Nick Coghlan2014-01-221-0/+23
|\ \ | |/
| * Issue #20317: Don't create a reference loop in ExitStackNick Coghlan2014-01-221-0/+23
| |
* | Issue #17825: Cursor ^ is correctly positioned for SyntaxError and ↵Florent Xicluna2014-01-221-4/+14
|\ \ | |/ | | | | IndentationError.
| * Issue #17825: Cursor ^ is correctly positioned for SyntaxError and ↵Florent Xicluna2014-01-221-4/+14
| | | | | | | | IndentationError.
* | Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.Stefan Krah2014-01-211-1/+1
|\ \ | |/
| * Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.Stefan Krah2014-01-211-1/+1
| |
* | Issue #2382: SyntaxError cursor "^" now is written at correct position in mostSerhiy Storchaka2014-01-212-0/+22
|\ \ | |/ | | | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters.
| * Issue #2382: SyntaxError cursor "^" now is written at correct position in mostSerhiy Storchaka2014-01-212-0/+22
| | | | | | | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters.
* | (Merge 3.3) Issue #20311: Try to fix the unit test, use time.monotonic()Victor Stinner2014-01-211-2/+2
|\ \ | |/ | | | | instead of time.perf_counter()
| * Issue #20311: Try to fix the unit test, use time.monotonic() instead ofVictor Stinner2014-01-211-12/+12
| | | | | | | | | | | | time.perf_counter() Move also the unit test at the end.
* | Issue #20311: selector.PollSelector.select() now rounds the timeout away fromVictor Stinner2014-01-212-13/+28
| | | | | | | | | | | | | | | | zero, instead of rounding towards zero. For example, a timeout of one microsecond is now rounded to one millisecond, instead of being rounded to zero. Move also a test in test_epoll which was moved by my previous merge.
* | (Merge 3.3) Issue #20311: select.epoll.poll() now rounds the timeout away fromVictor Stinner2014-01-211-0/+11
|\ \ | |/ | | | | | | | | zero, instead of rounding towards zero. For example, a timeout of one microsecond is now rounded to one millisecond, instead of being rounded to zero.
| * Issue #20311: select.epoll.poll() now rounds the timeout away from zero,Victor Stinner2014-01-211-0/+11
| | | | | | | | | | instead of rounding towards zero. For example, a timeout of one microsecond is now rounded to one millisecond, instead of being rounded to zero.
* | Issue #20262: Warnings are raised now when duplicate names are added in theSerhiy Storchaka2014-01-201-3/+6
|\ \ | |/ | | | | ZIP file or too long ZIP file comment is truncated.
| * Issue #20262: Warnings are raised now when duplicate names are added in theSerhiy Storchaka2014-01-201-2/+5
| | | | | | | | ZIP file or too long ZIP file comment is truncated.