Skip to content

Commit d20a451

Browse files
committed
Skip new test on on PPC64LE for now
1 parent 432bac2 commit d20a451

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_urllib2net.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import contextlib
22
import errno
3+
import sysconfig
34
import unittest
45
from unittest import mock
5-
import warnings
66
from test import support
77
from test.support import os_helper
88
from test.support import socket_helper
@@ -148,6 +148,8 @@ def test_ftp(self):
148148
self._test_urls(urls, self._extra_handlers())
149149

150150
@support.requires_resource('walltime')
151+
@unittest.skipIf(sysconfig.get_platform() == 'linux-ppc64le',
152+
'leaks on PPC64LE (gh-140691)')
151153
def test_ftp_no_leak(self):
152154
# gh-140691: When the data connection (but not control connection)
153155
# cannot be made established, we shouldn't leave an open socket object.

0 commit comments

Comments
 (0)