From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:37:51 +0000 (+0200) Subject: [3.12] gh-120373: Mark test_audit.test_http as requiring the network resource (GH... X-Git-Tag: v3.12.5~173 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a874b4ca6150681994a2a38b988711575f53d36;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-120373: Mark test_audit.test_http as requiring the network resource (GH-120374) (#120949) gh-120373: Mark test_audit.test_http as requiring the network resource (GH-120374) (cherry picked from commit b0e1c51882e3a129d1e4db8291f7a0d869d6f1d6) Co-authored-by: Itamar Oren --- diff --git a/Lib/test/test_audit.py b/Lib/test/test_audit.py index 9e3e03748da1..9076448ccfd4 100644 --- a/Lib/test/test_audit.py +++ b/Lib/test/test_audit.py @@ -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")