From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:44:06 +0000 (+0200) Subject: [3.13] gh-120373: Mark test_audit.test_http as requiring the network resource (GH... X-Git-Tag: v3.13.0b3~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=502a99a7e66adc095842addfb366bba6953f34a1;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-120373: Mark test_audit.test_http as requiring the network resource (GH-120374) (#120948) 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 321d4f9abce8..7206307d8b06 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")