summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-19 18:20:10 (GMT)
committerGitHub <noreply@github.com>2017-03-19 18:20:10 (GMT)
commit24c738a9e91b8f46da6166663d8ce7ec18cec784 (patch)
tree99ed70ea10252ad329c458d9ddd3d758924aedbd /Lib/test/test_socket.py
parent6b5a9ec4788770c652bac3bf5d5a0a3b710b82ae (diff)
downloadcpython-24c738a9e91b8f46da6166663d8ce7ec18cec784.zip
cpython-24c738a9e91b8f46da6166663d8ce7ec18cec784.tar.gz
cpython-24c738a9e91b8f46da6166663d8ce7ec18cec784.tar.bz2
bpo-29845: Mark tests that use _testcapi as CPython-only (#711)
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r--Lib/test/test_socket.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index f8e5b36..7cc2e57 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -906,6 +906,7 @@ class GeneralModuleTests(unittest.TestCase):
self.assertEqual(swapped & mask, mask)
self.assertRaises(OverflowError, func, 1<<34)
+ @support.cpython_only
def testNtoHErrors(self):
import _testcapi
s_good_values = [0, 1, 2, 0xffff]