We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 432bac2 commit d20a451Copy full SHA for d20a451
Lib/test/test_urllib2net.py
@@ -1,8 +1,8 @@
1
import contextlib
2
import errno
3
+import sysconfig
4
import unittest
5
from unittest import mock
-import warnings
6
from test import support
7
from test.support import os_helper
8
from test.support import socket_helper
@@ -148,6 +148,8 @@ def test_ftp(self):
148
self._test_urls(urls, self._extra_handlers())
149
150
@support.requires_resource('walltime')
151
+ @unittest.skipIf(sysconfig.get_platform() == 'linux-ppc64le',
152
+ 'leaks on PPC64LE (gh-140691)')
153
def test_ftp_no_leak(self):
154
# gh-140691: When the data connection (but not control connection)
155
# cannot be made established, we shouldn't leave an open socket object.
0 commit comments