summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-19 18:53:42 (GMT)
committerGitHub <noreply@github.com>2017-03-19 18:53:42 (GMT)
commitda88596a19d2cad0e85a2b3c3290b5b1d97a793d (patch)
treed32b221507445f0c652b69f1dff7a0fa00e4e06a /Lib/test/test_socket.py
parentfca705d533970011e50b3f278aab81cead39b00d (diff)
downloadcpython-da88596a19d2cad0e85a2b3c3290b5b1d97a793d.zip
cpython-da88596a19d2cad0e85a2b3c3290b5b1d97a793d.tar.gz
cpython-da88596a19d2cad0e85a2b3c3290b5b1d97a793d.tar.bz2
bpo-29845: Mark tests that use _testcapi as CPython-only (#711) (#725)
(cherry picked from commit 24c738a9e91b8f46da6166663d8ce7ec18cec784)
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 1508f20..2497e47 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):
good_values = [ 1, 2, 3, 1, 2, 3 ]
bad_values = [ -1, -2, -3, -1, -2, -3 ]