summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #24678: Fixed raiseExceptions typo in logging tests.Serhiy Storchaka2015-07-211-11/+6
| | | | Patch by Jacek Kołodziej.
* Issue #24675: Avoid DeprecationWarning in test_osVictor Stinner2015-07-201-2/+8
| | | | Patch written by Martin Panter. I replace tearDown() with addCleanup().
* Issue #24206: Fixed __eq__ and __ne__ methods of inspect classes.Serhiy Storchaka2015-07-181-22/+54
|
* Closes #23247: Fix a crash in the StreamWriter.reset() of CJK codecsVictor Stinner2015-07-161-0/+7
|
* asyncio: sync with github asyncioVictor Stinner2015-07-094-7/+9
| | | | | * queues: get coroutine from asyncio.coroutines, not from asyncio.tasks * tets: replace tulip with asyncio in comments
* Added regression test for issue24581.Serhiy Storchaka2015-07-081-0/+11
|
* Issue #24259: tarfile now raises a ReadError if an archive is truncated ↵Lars Gustäbel2015-07-061-0/+23
| | | | inside a data segment.
* merge 3.3 (#24407)Benjamin Peterson2015-07-051-0/+14
|\
| * protect against mutation of the dict during insertion (closes #24407)Benjamin Peterson2015-07-051-0/+15
| |
* | use correct __new__ method (closes #24552)Benjamin Peterson2015-07-021-1/+1
| |
* | fix use after free (closes #24552)Benjamin Peterson2015-07-021-0/+12
| |
* | Issue #24514: tarfile now tolerates number fields consisting of only whitespace.Lars Gustäbel2015-07-021-0/+4
| |
* | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.Serhiy Storchaka2015-06-291-0/+41
| | | | | | | | | | | | | | A deprecation warning no longer issued by XMLParser subclass with default doctype() method. Direct call of doctype() now issues a warning. Parser's doctype() now is not called if target's doctype() is called. Based on patch by Martin Panter.
* | Issue #24467: Fixed possible buffer over-read in bytearray. The bytearraySerhiy Storchaka2015-06-291-1/+18
| | | | | | | | | | object now always allocates place for trailing null byte and it's buffer now is always null-terminated.
* | Issue #20387: MergeJason R. Coombs2015-06-281-1/+20
|\ \
| * \ Issue #20387: Merge patch and testJason R. Coombs2015-06-281-1/+20
| |\ \
| | * | Issue #20387: Correct test to properly capture expectation.Jason R. Coombs2015-06-261-2/+2
| | | |
| | * | Issue #20387: Add test capturing failure to roundtrip indented code in ↵Jason R. Coombs2015-06-201-0/+17
| | | | | | | | | | | | | | | | tokenize module.
| | * | Remove unused import and remove doctest-only import into doctests.Jason R. Coombs2015-06-201-1/+3
| | | |
* | | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()Serhiy Storchaka2015-06-281-0/+10
|/ / / | | | | | | | | | functions of the audioop module.
* | | Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka2015-06-282-3/+11
| | | | | | | | | | | | keyword arguments called "func" and "self". Patch by Martin Panter.
* | | Issue #23684: Clarify the return value of the scheme attribute of ↵Berker Peksag2015-06-251-0/+41
| | | | | | | | | | | | | | | | | | ParseResult and SplitResult objects. Patch by Martin Panter.
* | | Issue #24400: Fix CoroWrapper for 'async def' coroutinesYury Selivanov2015-06-241-1/+2
| | |
* | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().Antoine Pitrou2015-06-231-10/+41
|/ /
* | Issue #15745: Rewrite os.utime() tests in test_osVictor Stinner2015-06-121-202/+210
| | | | | | | | | | | | | | | | | | | | * Don't use the timestamp of an existing file anymore, only use fixed timestamp * Enhance the code checking the resolution of the filesystem timestamps. * Check timestamps with a resolution of 1 microsecond instead of 1 millisecond * When os.utime() uses the current system clock, tolerate a delta of 20 ms. Before some os.utime() tolerated a different of 10 seconds. * Merge duplicated tests and simplify the code
* | Issue #24299: Fixed test__locale on Solaris.Serhiy Storchaka2015-06-081-2/+3
| |
* | Closes #24267 - Does not check version on ensurepip uninstallDonald Stufft2015-06-021-5/+20
| | | | | | | | | | | | Ensure that the uninstall helper for Windows passes the proper flags to pip to prevent it from checking PyPI if the pip that we're currently attempting to uninstall is the latest verison.
* | Issue #5633: Fixed timeit when the statement is a string and the setup is not.Serhiy Storchaka2015-05-301-0/+7
| |
* | Issue #24326: Fixed audioop.ratecv() with non-default weightB argument.Serhiy Storchaka2015-05-291-0/+17
| | | | | | | | Original patch by David Moore.
* | Issue 24298: Fix signature() to properly unwrap wrappers around bound methodsYury Selivanov2015-05-281-0/+13
| |
* | Issue #23840: tokenize.open() now closes the temporary binary file on error toVictor Stinner2015-05-251-1/+9
| | | | | | | | fix a resource warning.
* | merge 3.3 (#22931)Benjamin Peterson2015-05-231-0/+13
|\ \ | |/
| * merge 3.2 (#22931)Benjamin Peterson2015-05-231-0/+13
| |\
| | * allow square brackets in cookie values (closes #22931)Benjamin Peterson2015-05-231-0/+14
| | |
| | * Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. AnalysisSerhiy Storchaka2015-01-271-16/+129
| | | | | | | | | | | | and fix by Guido Vranken.
* | | Issue #24257: Fixed incorrect uses of PyObject_IsInstance().Serhiy Storchaka2015-05-221-0/+16
| | | | | | | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
* | | Issue 23898: Fix inspect.classify_class_attrs() to work with __eq__Yury Selivanov2015-05-211-0/+15
| | |
* | | Issue #23985: Fixed integer overflow in iterator object. Patch bySerhiy Storchaka2015-05-211-0/+25
| | | | | | | | | | | | Clement Rouault.
* | | Issue 24215: Added tests for more builtin types in test_pprint.Serhiy Storchaka2015-05-202-17/+12
| | | | | | | | | | | | Made test_pprint and test_trace discoverable.
* | | Issue #24134: Use assertRaises() in context manager form in test_slice toSerhiy Storchaka2015-05-201-1/+2
| | | | | | | | | | | | avoid passing the test accidently because slice.__hash__ is None.
* | | Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try againSerhiy Storchaka2015-05-191-6/+41
| | | | | | | | | | | | | | | | | | when a directory with the chosen name already exists on Windows as well as on Unix. tempfile.mkstemp() now fails early if parent directory is not valid (not exists or is a file) on Windows.
* | | Issue #23985: Fix a possible buffer overrun when deleting a slice from the ↵Antoine Pitrou2015-05-191-0/+16
| | | | | | | | | | | | | | | | | | front of a bytearray and then appending some other bytes data. Patch by Martin Panter.
* | | #24215: also back out changeset that broke test_trace in 3.4.R David Murray2015-05-191-8/+9
| | | | | | | | | | | | I missed that this change was applied to both branches.
* | | Issue #6598: Increased time precision and random number range inSerhiy Storchaka2015-05-191-1/+24
| | | | | | | | | | | | email.utils.make_msgid() to strengthen the uniqueness of the message ID.
* | | Issue #24091: Fixed various crashes in corner cases in C implementation ofSerhiy Storchaka2015-05-181-0/+122
| | | | | | | | | | | | ElementTree.
* | | Issue #24102: Fixed exception type checking in standard error handlers.Serhiy Storchaka2015-05-181-0/+23
| | |
* | | Issue #23757: Only call the concrete list API for exact lists.Raymond Hettinger2015-05-171-0/+12
| | |
* | | Added tests for more builtin types.Serhiy Storchaka2015-05-161-9/+8
| | | | | | | | | | | | Made test_pprint discoverable.
* | | Issue #23796: peak and read1 methods of BufferedReader now raise ValueErrorBerker Peksag2015-05-121-0/+8
| | | | | | | | | | | | | | | | | | if they called on a closed object. Patch by John Hergenroeder.
* | | asyncio: Support PEP 492. Issue #24017.Yury Selivanov2015-05-122-3/+4
| | |