summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #26492: Added additional tests for exhausted iterators of mutable ↵Serhiy Storchaka2016-03-303-0/+24
| | | | sequences.
* Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka2016-03-309-0/+55
| | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
* test_urllibnet: set timeout on test_fileno()Victor Stinner2016-03-301-1/+1
| | | | Use the default timeout of 30 seconds to avoid blocking forever.
* Issue #26643: Add missing shutil resources to regrtest.pyVictor Stinner2016-03-291-0/+1
|
* Issue #23804: Fix SSL recv/read(0) to not return 1024 bytesMartin Panter2016-03-281-1/+8
|
* Issue #26644: Raise ValueError for negative SSLSocket.recv() and read()Martin Panter2016-03-271-0/+11
|
* Issue#26616:Fixed a bug in datetime.astimezone() method.Alexander Belopolsky2016-03-251-0/+8
|
* Issue #25654:Victor Stinner2016-03-251-5/+13
| | | | | | | | | * multiprocessing: open file with closefd=False to avoid ResourceWarning * _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a previous test forgot to remove TESTFN) * test_sys_exit(): remove TESTFN after each loop iteration Initial patch written by Serhiy Storchaka.
* Issue #21925: Fix test_warnings for release modeVictor Stinner2016-03-251-2/+2
| | | | Use -Wd comment line option to log the ResourceWarning.
* warnings.formatwarning(): catch exceptionsVictor Stinner2016-03-241-0/+17
| | | | | | Issue #21925: warnings.formatwarning() now catches exceptions on linecache.getline(...) to be able to log ResourceWarning emitted late during the Python shutdown process.
* Fix test_warnings.test_improper_option()Victor Stinner2016-03-241-6/+9
| | | | | test_warnings: only run test_improper_option() and test_warnings_bootstrap() once. The unit test doesn't depend on self.module.
* Issue #26621: Remove unnecessary test.Stefan Krah2016-03-231-1/+0
|
* Issue #26581: Use the first coding cookie on a line, not the last one.Serhiy Storchaka2016-03-202-2/+2
|
* Added new tests for detecting Python source code encoding.Serhiy Storchaka2016-03-201-2/+81
|
* Issue #12813: uuid.uuid4() no longer depends on ctypesBerker Peksag2016-03-201-1/+0
| | | | uuid.uuid4() always uses os.urandom() after 756d040aa8e8.
* Issue #19265: Improve test coverage of datetime.tzinfoBerker Peksag2016-03-191-0/+3
| | | | | | | Without the patch, line 1010 of Lib/datetime.py wasn't covered by the test suite. Patch by Colin Williams.
* Issue #26560: Avoid potential ValueError in BaseHandler.start_responseBerker Peksag2016-03-191-0/+21
| | | | Initial patch by Peter Inglesby.
* Issue #26583: Skip test_timestamp_overflow in test_import if bytecodeNed Deily2016-03-171-0/+1
| | | | files cannot be written.
* Issue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent GhostMartin Panter2016-03-171-9/+70
|
* faulthandler: Test Py_FatalError() with GIL releasedVictor Stinner2016-03-151-0/+8
| | | | Issue #26558.
* Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) ↵Antoine Pitrou2016-03-151-9/+16
| | | | was untested.
* Fix test_venv on FreeBSD buildbotVictor Stinner2016-03-141-1/+10
| | | | Ignore pip warning in test_venv.test_with_venv().
* Skip test_site if USER_SITE cannot be createdVictor Stinner2016-03-141-2/+7
| | | | | Issue #17758: Skip test_site if site.USER_SITE directory doesn't exist and cannot be created.
* Issue #20556: Used specific assert methods in threading tests.Serhiy Storchaka2016-03-143-23/+22
|
* Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵Berker Peksag2016-03-141-0/+4
| | | | datetime.MAXYEAR
* Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch bySerhiy Storchaka2016-03-121-7/+21
| | | | Tamás Bence Gedai.
* Issue #20589: Fix test_pathlibVictor Stinner2016-03-111-10/+10
|
* Issue #20589: Invoking Path.owner() and Path.group() on Windows now raiseBerker Peksag2016-03-111-0/+9
| | | | NotImplementedError instead of ImportError.
* Issue #25911: Tring to silence deprecation warnings in bytes path walk tests.Serhiy Storchaka2016-03-081-0/+11
|
* Backed out changeset f9e22717722dSerhiy Storchaka2016-03-081-5/+1
|\
| * Backed out changeset 19a3e0e664afSerhiy Storchaka2016-03-081-5/+1
| |
* | Issue #15068: Got rid of excessive buffering in the fileinput module.Serhiy Storchaka2016-03-081-1/+69
| | | | | | | | The bufsize parameter is no longer used.
* | Issues #23808, #25911: Trying to fix walk tests on Windows.Serhiy Storchaka2016-03-081-1/+5
|\ \ | |/ | | | | On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
| * Issues #23808, #25911: Trying to fix walk tests on Windows.Serhiy Storchaka2016-03-081-1/+5
| | | | | | | | On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
* | Document another recipe for itertools: all_equal(). Inspired by David Beazley.Raymond Hettinger2016-03-071-0/+8
| |
* | Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.pyBerker Peksag2016-03-061-0/+5
| | | | | | | | Patch by Guo Ci Teo.
* | Issue #2202: Fix UnboundLocalError in ↵Berker Peksag2016-03-061-1/+11
| | | | | | | | | | | | | | | | AbstractDigestAuthHandler.get_algorithm_impls Raise ValueError if algorithm is not MD5 or SHA. Initial patch by Mathieu Dupuy.
* | Issue #26167: Backported copy tests.Serhiy Storchaka2016-03-061-6/+49
| |
* | Issue #26015: Added new tests for pickling iterators of mutable sequences.Serhiy Storchaka2016-03-065-50/+214
| |
* | Issue #25718: Fixed pickling and copying the accumulate() iterator with ↵Serhiy Storchaka2016-03-061-0/+10
| | | | | | | | total is None.
* | Fixed typo in pickle tests.Serhiy Storchaka2016-03-041-2/+2
| |
* | merge 3.4 (closes #26478)Benjamin Peterson2016-03-041-0/+4
|\ \ | |/
| * properly use the ObjArgs variant of CallMethod in dictview binary operations ↵Benjamin Peterson2016-03-041-0/+4
| | | | | | | | (closes #26478)
| * asyncio: Update 3.4 asyncio/test_tasks to upstream versionYury Selivanov2016-03-021-1/+2
| |
* | coroutines: Error when awaiting on coroutine that's being awaitedYury Selivanov2016-03-021-0/+18
| | | | | | | | Issue #25888
* | asyncio: Remove duplicate bind addresses in create_server.Yury Selivanov2016-03-021-10/+13
| | | | | | | | Patch by Sebastien Bourdeauducq (issue #26338)
* | inspect: Fix BoundArguments.apply_defaults to handle empty argumentsYury Selivanov2016-03-021-0/+7
| | | | | | | | Patch by Frederick Wagner (issue #26347)
* | asyncio: Prevent StopIteration from being thrown into a FutureYury Selivanov2016-03-021-0/+4
| | | | | | | | Patch by Chris Angelico (issue #26221)
* | asyncio: Fix @coroutine to recognize CoroWrapper (issue #25647)Yury Selivanov2016-03-021-0/+24
| | | | | | | | Patch by Vladimir Rutsky.
* | asyncio, selectors: Update to the upstream versionYury Selivanov2016-03-021-1/+2
| |