]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-120373: Mark test_audit.test_http as requiring the network resource (#120374)
authorItamar Oren <itamarost@gmail.com>
Mon, 24 Jun 2024 13:18:46 +0000 (06:18 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2024 13:18:46 +0000 (07:18 -0600)
Lib/test/test_audit.py

index 321d4f9abce8c77e1109990a930645c5b9e004b2..7206307d8b0664daabeeb4157314524b9a2b3277 100644 (file)
@@ -140,6 +140,7 @@ class AuditTest(unittest.TestCase):
         )
 
 
+    @support.requires_resource('network')
     def test_http(self):
         import_helper.import_module("http.client")
         returncode, events, stderr = self.run_python("test_http_client")