]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-120373: Mark test_audit.test_http as requiring the network resource (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Jun 2024 13:44:06 +0000 (15:44 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2024 13:44:06 +0000 (13:44 +0000)
gh-120373: Mark test_audit.test_http as requiring the network resource (GH-120374)
(cherry picked from commit b0e1c51882e3a129d1e4db8291f7a0d869d6f1d6)

Co-authored-by: Itamar Oren <itamarost@gmail.com>
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")