summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Hopeful fix for test_rglob_common on Windows without symlinks. (Merge 3.4->3.5)Guido van Rossum2016-01-071-2/+5
|\
| * Hopeful fix for test_rglob_common on Windows without symlinks.Guido van Rossum2016-01-071-2/+5
| |
* | Add another try/except PermissionError to avoid depending on listdir order. ↵Guido van Rossum2016-01-071-8/+8
|\ \ | |/ | | | | Fix issues #24120 and #26012. (Merge 3.4->3.5)
| * Add another try/except PermissionError to avoid depending on listdir order. ↵Guido van Rossum2016-01-071-8/+8
| | | | | | | | Fix issues #24120 and #26012.
* | Issue #22570: Add 'path' attribute to pathlib.Path objects. (Merge 3.4->3.5)Guido van Rossum2016-01-061-0/+27
|\ \ | |/
| * Issue #22570: Add 'path' attribute to pathlib.Path objects.Guido van Rossum2016-01-061-0/+27
| |
* | Issue #26012: Don't traverse into symlinks for ** pattern in ↵Guido van Rossum2016-01-061-1/+18
|\ \ | |/ | | | | pathlib.Path.[r]glob(). (Merge 3.4->3.5)
| * Issue #26012: Don't traverse into symlinks for ** pattern in ↵Guido van Rossum2016-01-061-1/+18
| | | | | | | | pathlib.Path.[r]glob().
* | Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich ↵Guido van Rossum2016-01-061-12/+20
|\ \ | |/ | | | | Petri. (Merge 3.4->3.5)
| * Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri.Guido van Rossum2016-01-061-12/+20
| |
| * Issue #25809: Skip testing platform-dependent French thousands separatorMartin Panter2015-12-121-1/+3
| |
* | #22709: Use stdin as-is if it does not have a buffer attribute.R David Murray2016-01-021-0/+11
| | | | | | | | | | | | | | This restores backward compatibility lost in the fix for #21075, and is better duck typing. Patch by Akira Li.
* | Remove a duplicate test_addresses key:value as identified by VincentGregory P. Smith2016-01-021-1/+0
| | | | | | | | Davis reviewing code.
* | Make catched exception more specific and correct a comment.Serhiy Storchaka2015-12-301-3/+3
| |
* | make recording and reporting errors and nonlocal and global directives more ↵Benjamin Peterson2015-12-291-0/+8
| | | | | | | | robust (closes #25973)
* | Issue #25447: Copying the lru_cache() wrapper object now always works,Serhiy Storchaka2015-12-281-2/+12
| | | | | | | | | | independedly from the type of the wrapped object (by returning the original object unchanged).
* | Issue #22995: Instances of extension types with a state that aren'tSerhiy Storchaka2015-12-252-0/+26
| | | | | | | | | | | | subclasses of list or dict and haven't implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview.
* | Issue #25860: Fixed test failure caused by inconsistency of os.walk() andSerhiy Storchaka2015-12-221-0/+2
| | | | | | | | os.fwalk() parameter names.
* | Issue #25860: os.fwalk() no longer skips remaining directories when error ↵Serhiy Storchaka2015-12-221-11/+20
| | | | | | | | | | | | occurs. Original patch by Samson Lee.
* | Issue #25914: Fixed and simplified OrderedDict.__sizeof__.Serhiy Storchaka2015-12-221-0/+32
| |
* | Issue #25902: Fixed various refcount issues in ElementTree iteration.Serhiy Storchaka2015-12-211-0/+51
| |
* | Issue #25766: Special method __bytes__() now works in str subclasses.Serhiy Storchaka2015-12-201-0/+6
| |
* | Fixed sizeof tests for dict and type (they were passed by accident).Serhiy Storchaka2015-12-201-11/+22
| | | | | | | | Added tests for dict views iterators.
* | Don't create non-needed file.Serhiy Storchaka2015-12-201-5/+0
| |
* | Use correct PyGC_Head size in tests for issue #25421.Serhiy Storchaka2015-12-191-1/+1
| |
* | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-0/+30
| | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
* | Fix a couple of typos in code commentsMartin Panter2015-12-172-2/+2
| |
* | Merge 3.4Yury Selivanov2015-12-171-0/+4
|\ \ | |/
| * asyncio/tests: Fix a ResourceWarning due to unclosed loopYury Selivanov2015-12-171-0/+4
| |
* | Merge 3.4Yury Selivanov2015-12-171-18/+29
|\ \ | |/
| * asyncio/tests: Fix ResourceWarnings related to unclosed transportsYury Selivanov2015-12-171-18/+29
| |
* | Merge 3.4Yury Selivanov2015-12-172-13/+18
|\ \ | |/
| * asyncio/tests: Fix some ResourceWarningsYury Selivanov2015-12-172-13/+18
| |
* | Merge 3.4Yury Selivanov2015-12-171-1/+1
|\ \ | |/
| * asyncio/tests: Fix deprecation warningYury Selivanov2015-12-171-1/+1
| |
* | Merge 3.4Yury Selivanov2015-12-171-1/+1
|\ \ | |/
| * Normalize whitespaceYury Selivanov2015-12-171-1/+1
| |
* | Merge 3.4Yury Selivanov2015-12-173-23/+195
|\ \ | |/
| * asyncio: Skip getaddrinfo if host is already resolved.Yury Selivanov2015-12-173-23/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | getaddrinfo takes an exclusive lock on some platforms, causing clients to queue up waiting for the lock if many names are being resolved concurrently. Users may want to handle name resolution in their own code, for the sake of caching, using an alternate resolver, or to measure DNS duration separately from connection duration. Skip getaddrinfo if the "host" passed into create_connection is already resolved. See https://github.com/python/asyncio/pull/302 for details. Patch by A. Jesse Jiryu Davis.
* | Issue #23788: Merge redundant test_bad_address() into test_urllibnetMartin Panter2015-12-162-35/+20
| | | | | | | | | | | | | | In Python 2, these were duplicated; one for urllib.urlopen() and one for urllib2.urlopen(). The test_urllibnet version has a better precondition to avoid false failures with bad DNS, and the test_urllib2_localnet version had a more up-to-date comment and domain name.
* | * Re-fix issue #19284: Don't generate the no-op -R command lineGregory P. Smith2015-12-142-4/+16
|\ \ | |/ | | | | | | | | | | | | parameter to "enable" the always on sys.flags.hash_randomization in _args_from_interpreter_flags() used by multiprocessing and some unittests. This simplifies the code. * assert_python_ok docstring typo fix. * Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed.
| * Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seedGregory P. Smith2015-12-141-3/+15
| | | | | | | | due to test_hash_randomization expecting a different seed per process.
| * assert_python_ok docstring typo fix.Gregory P. Smith2015-12-141-1/+1
| |
* | Sync asyncio with upstream git repo (conditional import in test_pep492.py).Guido van Rossum2015-12-131-1/+4
| |
* | Issue #19771: Omit irrelevant message if package could not be initializedMartin Panter2015-12-121-0/+13
| |
* | Issue #25809: Skip testing platform-dependent French thousands separatorMartin Panter2015-12-121-1/+3
| |
* | Issue #25755: Move PropertyWritableDoc into the test caseBerker Peksag2015-12-111-7/+7
| | | | | | | | | | | | | | | | This fixes a test failure in refleak mode because test_property_decorator_doc_writable no longer modifies the class in module level. Initial patch by Nan Wu and Torsten Landschoff (from issue 25757)
* | Merge 3.4Yury Selivanov2015-12-111-0/+15
|\ \ | |/
| * asyncio: Make Tasks check if Futures are attached to the same event loopYury Selivanov2015-12-111-0/+15
| | | | | | | | See https://github.com/python/asyncio/pull/303 for details
* | Merge 3.4Yury Selivanov2015-12-111-2/+2
|\ \ | |/