Antoine Pitrou
0360a9d015
Fix tests: getsockname() can return None on OS X on unbound sockets ( #1400 )
2017-05-02 23:48:26 +02:00
Antoine Pitrou
495b5021e7
bpo-30205: Fix getsockname() for unbound AF_UNIX sockets on Linux ( #1370 )
...
* bpo-30205: Fix getsockname() for unbound AF_UNIX sockets on Linux
* Add NEWS entry
2017-05-02 17:20:00 +02:00
Victor Stinner
5de85a1702
bpo-29972: Skip tests known to fail on AIX ( #979 )
...
* bpo-29972: Fix test_eintr on AIX
On AIX, sigtimedwait(0.2) sleeps 199.8 ms, whereas the test expects
200 ms or longer.
* bpo-29972: Skip some inet_pton() tests on AIX
Skip some inet_pton() tests of test_socket on AIX.
inet_pton() on AIX is less strict than on Linux and doesn't reject
some invalid IP addresses. The unit tests test more the libc than
Python itself.
* bpo-29972: Skip tests known to fail on AIX
* test_locale.test_strcoll_with_diacritic()
* test_locale.test_strxfrm_with_diacritic()
* test_strptime.test_week_of_year_and_day_of_week_calculation()
* test_tools.test_POT_Creation_Date()
2017-04-04 10:35:15 +02:00
Serhiy Storchaka
24c738a9e9
bpo-29845: Mark tests that use _testcapi as CPython-only ( #711 )
2017-03-19 20:20:10 +02:00
Xiang Zhang
d36a71637c
bpo-28728: clarify possible test failure due to ISP (GH-412)
2017-03-07 11:06:09 +08:00
matejcik
9764c151c5
update test_socket AEAD test for kernel 4.9 and up ( #133 )
2017-02-16 14:41:31 +01:00
Martin Panter
4f5c6a27d8
Issue #28815 : Merge test tweak from 3.6
2017-01-08 01:06:48 +00:00
Martin Panter
625fb648f7
Issue #28815 : Merge test tweak from 3.5
2017-01-08 01:06:18 +00:00
Martin Panter
8cbd46f19f
Issue #28815 : Use new exception subclasses
2017-01-08 00:46:25 +00:00
Martin Panter
871e01885c
Issue #28815 : Merge test_socket fix from 3.6
2016-12-24 11:24:45 +00:00
Martin Panter
da31ba9b92
Issue #28815 : Merge test_socket fix from 3.5
2016-12-24 10:53:18 +00:00
Martin Panter
e9ae5f9b16
Issue #28815 : Skip TIPC tests if /proc/modules is not readable
...
Based on patch by Patrila.
2016-12-24 10:41:37 +00:00
Xavier de Gaye
69598527c7
Issue #28683 : Merge 3.6.
2016-12-14 11:54:49 +01:00
Xavier de Gaye
e88ed05006
Issue #28683 : Fix the tests that bind() a unix socket and raise PermissionError
...
on Android for a non-root user.
2016-12-14 11:52:28 +01:00
Xavier de Gaye
d0c2b5b0ae
Issue #26936 : Fix the test_socket failures on Android - getservbyname(),
...
getservbyport() and getaddrinfo() are broken on some Android API levels.
2016-12-13 09:22:01 +01:00
Xavier de Gaye
daa9e239f0
Merge 3.6
2016-11-13 19:42:09 +01:00
Xavier de Gaye
f056b04eea
Merge 3.5
2016-11-13 19:41:07 +01:00
Xavier de Gaye
547c1b9ace
Fix temporary file not deleted in test_socket
2016-11-13 19:39:48 +01:00
Martin Panter
ea8762cae6
Merge test suite fixes from 3.6
2016-10-20 22:36:18 +00:00
Martin Panter
10f29c9037
Issue #28471 : Avoid ResourceWarning by detaching test socket
2016-10-20 07:44:29 +00:00
Yury Selivanov
193a360570
Merge 3.6 (issue #28471 )
2016-10-18 16:04:40 -04:00
Yury Selivanov
fa22b29960
Issue #28471 : Fix crash (GIL state related) in socket.setblocking
2016-10-18 16:03:52 -04:00
Serhiy Storchaka
6a7d3480fc
Issue #28332 : Deprecated silent truncations in socket.htons and socket.ntohs.
...
Original patch by Oren Milman.
2016-10-02 12:34:40 +03:00
Berker Peksag
d261cb6229
Issue #20254 : Merge from 3.5
2016-10-02 11:40:10 +03:00
Berker Peksag
480b069270
Issue #20254 : Fix duplicate tests in test_socket
...
Patch by Vajrasky Kok.
2016-10-02 11:39:41 +03:00
Berker Peksag
5d625cff07
Issue #26384 : Merge from 3.5
2016-09-17 23:23:13 +03:00
Berker Peksag
bcfb35f80d
Issue #26384 : Fix UnboundLocalError in socket._sendfile_use_sendfile
2016-09-17 23:22:06 +03:00
Christian Heimes
e084f84a66
Issue 27744: test_aes_cbc is blocking x86-64 Ubuntu 15.10 Skylake CPU 3.x for a while. Require Kernel 4.3+ for now
2016-09-11 20:11:30 +02:00
Christian Heimes
49aed7b782
Issue #28078 : Add missing colon
2016-09-11 20:03:46 +02:00
Christian Heimes
02b3035bc3
Issue #28078 : Silence resource warnings in test_socket. Initial patch by Xiang Zhang, thanks
2016-09-11 19:49:56 +02:00
Christian Heimes
407380f63f
Issue 27744: skip test if AF_ALG socket bind fails
2016-09-06 11:14:09 +02:00
Christian Heimes
04960a21fb
Issue 27744: AES-CBC and DRBG need Kernel 3.19+
2016-09-06 00:58:47 +02:00
Christian Heimes
4837141def
Issue 27744: Check for AF_ALG support in Kernel
2016-09-06 00:37:46 +02:00
Christian Heimes
dffa3949c7
Issue #27744 : Add AF_ALG (Linux Kernel crypto) to socket module.
2016-09-05 23:54:41 +02:00
Martin Panter
02b75abf73
Merge spelling and grammar fixes from 3.5
2016-08-05 01:51:39 +00:00
Martin Panter
69332c1a64
Fix spelling and grammar in documentation and code comments
2016-08-04 13:07:31 +00:00
Berker Peksag
ce4271a3e5
Issue #26536 : Skip test_sio_loopback_fast_path under Windows 7
2016-06-18 16:10:07 +03:00
Steve Dower
ea93ac013d
Issue #26536 : socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes.
2016-06-17 12:52:18 -07:00
Martin Panter
0b7d84de6b
Issue #27171 : Merge typo fixes from 3.5
2016-06-02 10:11:18 +00:00
Martin Panter
e26da7c03a
Issue #27171 : Fix typos in documentation, comments, and test function names
2016-06-02 10:07:09 +00:00
Martin Panter
e514093a2f
Issue #27125 : Merge typo fixes from 3.5
2016-05-30 05:24:49 +00:00
Martin Panter
a90a4a9651
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Martin Panter
50ab1a3694
Issue #26685 : Raise OSError if closing a socket fails
2016-04-11 00:38:12 +00:00
Berker Peksag
31a252b7f3
Issue #16915 : Clarify that mode parameter of socket.makefile() does not accept
...
the same values as open().
2016-02-18 17:34:32 +02:00
Berker Peksag
3fe64d0c5c
Issue #16915 : Clarify that mode parameter of socket.makefile() does not accept
...
the same values as open().
2016-02-18 17:34:00 +02:00
Brett Cannon
3bbad12b5b
Tweak skipping message
2015-12-28 17:21:44 -08:00
Brett Cannon
3c61a448f1
Issue #24725 : Skip the test_socket.testFDPassEmpty on OS X.
...
In OS X 10.11, the test fails consistently due to a platform change
since 10.10. Thanks to Jeff Ramnani for the patch.
2015-12-28 17:17:58 -08:00