]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] 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:37:51 +0000 (15:37 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2024 13:37:51 +0000 (13:37 +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 9e3e03748da14d846dce9aed4a0dbdd397065de8..9076448ccfd45f07ffc034593ccc75d22fd01fd0 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")