summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not builtZachary Ware2014-10-171-1/+4
|
* Issue #16000: Convert test_curses to use unittestZachary Ware2014-10-171-367/+347
|
* merge 3.3 (#22643)Benjamin Peterson2014-10-151-0/+1
|\
| * test is cpython onlyBenjamin Peterson2014-10-151-0/+1
| |
* | merge 3.3 (#22643)Benjamin Peterson2014-10-151-0/+5
|\ \ | |/
| * fix integer overflow in unicode case operations (closes #22643)Benjamin Peterson2014-10-151-0/+5
| |
* | Issue #22641: In asyncio, the default SSL context for client connections is ↵Antoine Pitrou2014-10-151-10/+38
| | | | | | | | now created using ssl.create_default_context(), for stronger security.
* | Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants ↵Ethan Furman2014-10-151-2/+9
| | | | | | | | are SocketKind
* | Issue #18643: asyncio.windows_utils now reuse socket.socketpair() on Windows ifVictor Stinner2014-10-141-0/+4
| | | | | | | | | | | | | | | | | | available Since Python 3.5, socket.socketpair() is now also available on Windows. Make csock blocking before calling the accept() method, and fix also a typo in an error message.
* | Issue22506: added methods on base Enum class now show up in dir of Enum ↵Ethan Furman2014-10-141-0/+12
| | | | | | | | subclass (3.4)
* | Issue #22435: Fix a file descriptor leak when SocketServer bind fails.Charles-François Natali2014-10-131-0/+10
| |
* | #20815: small readability improvements in ipaddress tests.R David Murray2014-10-121-4/+9
| | | | | | | | | | | | Patch by Michel Albert. We don't normally do patches that just tweak whitespace, but ipaddress is relatively new and the package maintainers approved the patch.
* | #11973: add test for previously fixed kevent signed/unsigned bug.R David Murray2014-10-121-0/+25
| | | | | | | | Patch by David Naylor.
* | Issue #22601: run_forever() now consumes BaseException of the temporary taskVictor Stinner2014-10-111-1/+21
| | | | | | | | | | If the coroutine raised a BaseException, consume the exception to not log a warning. The caller doesn't have access to the local task.
* | Issue #22604: Fix assertion error in debug mode when dividing a complex ↵Antoine Pitrou2014-10-101-2/+7
| | | | | | | | number by (nan+0j).
* | Issue #11694: Raise ConversionError in xdrlib as documentedPetri Lehtinen2014-10-101-0/+24
| |
* | test_venv: use support.rmtree() instead of shutil.rmtree() to fix sporadicVictor Stinner2014-10-101-11/+10
| | | | | | | | failures on Windows
* | Issue #21456: Skip two tests in test_urllib2net.py if _ssl module not present.Berker Peksag2014-10-101-0/+5
| | | | | | | | Patch by Remi Pointel.
* | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵Antoine Pitrou2014-10-081-1/+17
| | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon.
* | Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called ↵Antoine Pitrou2014-10-051-0/+36
| | | | | | | | with an iterator alive.
* | cleanup test_posixVictor Stinner2014-10-051-9/+10
| |
* | Issue #22390: Remove files created by testsVictor Stinner2014-10-057-3/+10
| |
* | Issue #22290: Fix error handling in the _posixsubprocess module.Victor Stinner2014-10-051-0/+33
| | | | | | | | | | | | | | | | * Don't call the garbage collector with an exception set: it causes an assertion to fail in debug mode. * Enhance also error handling if allocating an array for the executable list failed. * Add an unit test for 4 different errors in the _posixsubprocess module.
* | separate cert loading tests into Windows and non-Windows casesBenjamin Peterson2014-10-031-0/+15
| |
* | also use openssl envvars to find certs on windows (closes #22449)Benjamin Peterson2014-10-031-0/+8
| | | | | | | | Patch by Christian Heimes and Alex Gaynor.
* | #12780: update inspect test skipIf for PEP 3147.R David Murray2014-10-031-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | The test needs to be skipped if unicodedata is either part of the main binary (a repackaging of cpython on Windows?) or has python source (pypy?). PEP 3147 makes __file__ point to the .py source, so we need to change the extension check from looking for the old .pyc/.pyo to just looking for .py. Note that this skip should never trigger on CPython itself, so one could argue it should be dropped instead. But since it exists, why risk breaking someone else's python.
* | #8473: Add tests that doctest uses universal newlines in testfile.R David Murray2014-10-031-0/+30
| | | | | | | | Python3 does not have the bug covered by the issue.
* | Issue #20079: Fixed tests.Serhiy Storchaka2014-10-021-1/+1
| |
* | faulthandler: test_gil_released() now uses _sigsegv() instead of _read_null(),Victor Stinner2014-09-301-2/+2
| | | | | | | | | | because _read_null() cannot be used on AIX. On AIX, reading from NULL is allowed: the first page of memory is a mapped read-only on AIX.
* | merge 3.3 (#22517)Benjamin Peterson2014-09-301-0/+6
|\ \ | |/
| * clear BufferedRWPair weakrefs on deallocation (closes #22517)Benjamin Peterson2014-09-301-0/+6
| |
* | check that exception messages are not empty (#22379)Benjamin Peterson2014-09-283-15/+12
| | | | | | | | Patch by Yongzhi Pan.
* | Issue #9850: Fixed macpath.join() for empty first component. Patch bySerhiy Storchaka2014-09-271-0/+24
| | | | | | | | Oleg Oshmyan.
* | asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio moduleYury Selivanov2014-09-251-4/+11
| |
* | asyncio: Improve canceled timer handles cleanup. Closes issue #22448.Yury Selivanov2014-09-252-10/+88
| | | | | | | | Patch by Joshua Moore-Oliva.
* | test_faulthandler: fix typoVictor Stinner2014-09-241-1/+1
| |
* | Issue #16056: Rename test method in test_statistics to avoid conflict.Berker Peksag2014-09-241-2/+2
| |
* | Issue #22427: TemporaryDirectory no longer attempts to clean up twice whenSerhiy Storchaka2014-09-241-0/+24
| | | | | | | | used in the with statement in generator.
* | Fixed bytes literals in tests.Serhiy Storchaka2014-09-231-2/+2
| |
* | Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOSSerhiy Storchaka2014-09-231-4/+41
| | | | | | | | directory attributes.
* | Fixed test_large_file_exception. Ported tests for large count of filesSerhiy Storchaka2014-09-231-1/+62
| | | | | | | | to AbstractTestZip64InSmallFiles.
* | Issue #21866: ZipFile.close() no longer writes ZIP64 central directorySerhiy Storchaka2014-09-231-6/+39
| | | | | | | | records if allowZip64 is false.
* | Issue #22423: Fixed debugging output of the GROUPREF_EXISTS opcode in the reSerhiy Storchaka2014-09-211-6/+23
| | | | | | | | module.
* | Merge headsSerhiy Storchaka2014-09-211-0/+33
|\ \
| * | Issue #21332: Ensure that ``bufsize=1`` in subprocess.Popen() selects line ↵Antoine Pitrou2014-09-211-0/+33
| | | | | | | | | | | | buffering, rather than block buffering.
* | | Issue #22423: Unhandled exception in thread no longer causes unhandledSerhiy Storchaka2014-09-211-2/+83
|/ / | | | | | | AttributeError when sys.stderr is None.
* | #21091: make is_attachment a method.R David Murray2014-09-201-5/+15
| | | | | | | | | | | | Since EmailMessage is a provisional API we can fix API bugs in a maintenance release, but I used a trick suggested by Serhiy to maintain backward compatibility with 3.4.0/1.
* | #21079: is_attachment now looks only at the value, ignoring parameters.R David Murray2014-09-201-1/+2
| |
* | Issue #22247: Add NNTPError to nntplib.__all__.Berker Peksag2014-09-201-5/+12
| |
* | Issue #4180: The warnings registries are now reset when the filters are ↵Antoine Pitrou2014-09-181-2/+47
| | | | | | | | modified.