summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21069: Merge test_fileno() from 3.5Martin Panter2016-04-092-11/+41
|\
| * Issue #21069: Move test_fileno() from test_urllibnet and rewrite itMartin Panter2016-04-092-11/+41
| | | | | | | | | | | | | | | | * No longer attempts to close already freed socket file descriptor * Use socket object to be compatible with Windows * Do not use a timeout to avoid complication with non-blocking mode * Use internal localhost server rather than depending on a third party * Avoid trouble with buffered HTTP data by testing tunnelled CONNECT data
* | Issue #26609: Merge HTTP tests from 3.5Martin Panter2016-04-091-12/+29
|\ \ | |/
| * Issue #26609: Fix HTTP server tests to request an absolute URL pathMartin Panter2016-04-091-12/+29
| |
* | Issue #26587: Allow .pth files to specify file paths as well asBrett Cannon2016-04-081-1/+1
| | | | | | | | | | | | | | directories. Thanks to Wolfgang Langner for the bug report and initial version of the patch.
* | Issue #26668: Remove the redundant Lib/test/test_importlib/regrtest.pyBrett Cannon2016-04-081-17/+0
| |
* | Issue #25609: Introduce contextlib.AbstractContextManager andBrett Cannon2016-04-082-0/+51
| | | | | | | | typing.ContextManager.
* | Issue #26709: Fixed Y2038 problem in loading binary PLists.Serhiy Storchaka2016-04-081-0/+9
|\ \ | |/
| * Issue #26709: Fixed Y2038 problem in loading binary PLists.Serhiy Storchaka2016-04-081-0/+9
| |
* | Issue #26671: Fixed tests for changed error messages.Serhiy Storchaka2016-04-081-3/+3
| |
* | Issue #26257: Merge buffer_tests cleanup from 3.5Martin Panter2016-04-084-229/+54
|\ \ | |/
| * Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTestMartin Panter2016-04-064-229/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte- array, therefore many of the test cases inherited in this class were not actually being run on the bytearray type. The tests in buffer_tests.py were redundant with methods in string_tests .MixinStrUnicodeUserStringTest and string_tests.CommonTest. These methods are now moved into string_tests.BaseTest, where they will also get run for bytes and bytearray. This change also moves test_additional_split(), test_additional_rsplit(), and test_strip() from CommonTest to BaseTest, meaning these tests are now run for bytes and bytearray. I plan to eliminate redundancies with existing tests in test_bytes.py soon.
* | Merge upstream typing.py changes from 3.5 branch.Guido van Rossum2016-04-051-27/+129
|\ \ | |/
| * Many changes from the upstream repo (https://github.com/python/typing).Guido van Rossum2016-04-051-27/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This syncs to rev 7b43ada77821d23e55e3a4b35f6055a59b9e1ad7 there. Summary: - Add typing.DefaultDict (as a generic variant of collections.defaultdict). - Use collections.Reversible if it exists (only relevant for Python 3.6). - Revamped generic class behavior to conform to updated PEP 484. - Improve speed of Generic.__new__. - Make sure __init__ is called for new Generic instances. Fix issue #26391. - Refactor async support to be compatible with 3.2, 3.3, 3.4. - Remove 'io' and 're' from __all__ (they still exist, just not included by "import *"). Fix issue #26234. - Change @overload -- you can now use it outside stubs (you still cannot call the decorated function though).
* | Merge typo fixes from 3.5Martin Panter2016-04-051-5/+5
|\ \ | |/
| * Fix typos in documentation and commentsMartin Panter2016-04-051-5/+5
| |
* | Add collections.Reversible. Patch by Ivan Levkivskyi. Fixes issue #25987.Guido van Rossum2016-04-042-4/+29
| |
* | Issue #25951: Fix SSLSocket.sendall() to return None, by Aviv PalivodaMartin Panter2016-04-031-6/+10
| |
* | Issue #26586: Simple enhancements to BaseHTTPRequestHandler by Xiang ZhangMartin Panter2016-04-031-1/+1
| |
* | Issue #26586: Merge excessive HTTP header handling from 3.5Martin Panter2016-04-031-0/+7
|\ \ | |/
| * Issue #26586: Handle excessive header fields in http.server, by Xiang ZhangMartin Panter2016-04-031-0/+7
| |
* | Merge 3.5 (asyncio)Victor Stinner2016-04-011-0/+16
|\ \ | |/
| * asyncio: allow None as wait timeoutVictor Stinner2016-04-011-0/+16
| | | | | | | | | | | | Fix GH#325: Allow to pass None as a timeout value to disable timeout logic. Change written by Andrew Svetlov and merged by Guido van Rossum.
* | Issue #26676: Add missing XMLPullParser to ElementTree.__all__Martin Panter2016-04-011-2/+4
| |
* | Issue #22854: Merge test fix from 3.5Martin Panter2016-03-311-1/+1
|\ \ | |/
| * Issue #22854: Fix logic for skipping testMartin Panter2016-03-311-1/+1
| |
* | Issue #22854: Merge Windows pipe skipping from 3.5Martin Panter2016-03-311-7/+7
|\ \ | |/
| * Issue #22854: Skip pipe seek tests on WindowsMartin Panter2016-03-311-2/+7
| |
* | Issue #22854: Skip pipe seekable() tests on WindowsMartin Panter2016-03-311-1/+6
| |
* | Issue #22854: Merge UnsupportedOperation fixes from 3.5Martin Panter2016-03-311-11/+105
|\ \ | |/
| * Issue #22854: Clarify documentation about UnsupportedOperation and add testsMartin Panter2016-03-311-11/+105
| | | | | | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False.
* | Issue #26492: Exhausted iterator of array.array now conforms with the behaviorSerhiy Storchaka2016-03-301-2/+19
| | | | | | | | | | of iterators of other mutable sequences: it lefts exhausted even if iterated array is extended.
* | Issue #26492: Added additional tests for exhausted iterators of mutable ↵Serhiy Storchaka2016-03-303-0/+24
|\ \ | |/ | | | | sequences.
| * 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.
| * 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.
* | Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests()Victor Stinner2016-03-301-1/+1
| | | | | | | | Pass all regrtest options, not only --testdir.
* | Issue #26295: Fix test_regrtest.test_tools_buildbot_test()Victor Stinner2016-03-301-1/+1
| | | | | | | | Pass also --testdir option.
* | Issue #26295: test_regrtest now uses a temporary directoryVictor Stinner2016-03-301-27/+28
| | | | | | | | | | | | | | test_forever() stores its state into the builtins module since the test module is reloaded at each run. Remove also warning to detect leaked tests of a previous run.
* | Issue #26295: When using "python3 -m test --testdir=TESTDIR", regrtest doesn'tVictor Stinner2016-03-302-4/+9
| | | | | | | | | | | | add "test." prefix to test module names. regrtest also prepends testdir to sys.path.
* | Merge 3.5 (test_urllibnet)Victor Stinner2016-03-301-1/+1
|\ \ | |/
| * test_urllibnet: set timeout on test_fileno()Victor Stinner2016-03-301-1/+1
| | | | | | | | Use the default timeout of 30 seconds to avoid blocking forever.
* | Merge 3.5 (regrtest)Victor Stinner2016-03-291-0/+1
|\ \ | |/
| * Issue #26643: Add missing shutil resources to regrtest.pyVictor Stinner2016-03-291-0/+1
| |
* | fix typo in commentVictor Stinner2016-03-291-1/+1
| | | | | | | | Thanks Arfrever for the report :)
* | Issue #23804: Merge SSL zero read fix from 3.5Martin Panter2016-03-281-1/+8
|\ \ | |/
| * Issue #23804: Fix SSL recv/read(0) to not return 1024 bytesMartin Panter2016-03-281-1/+8
| |
* | regrtest: round final timing towards +infVictor Stinner2016-03-271-3/+8
| |
* | Issue #26644: Merge SSL negative read fix from 3.5Martin Panter2016-03-271-0/+11
|\ \ | |/
| * Issue #26644: Raise ValueError for negative SSLSocket.recv() and read()Martin Panter2016-03-271-0/+11
| |