From 61181f3ac34a2455d92ebf0f70155d641cddebc6 Mon Sep 17 00:00:00 2001 From: Itamar Oren Date: Tue, 18 Jun 2024 18:48:40 -0700 Subject: [PATCH] Patch test_audit.test_http to require 'network' resource Summary: see upstream issue: https://github.com/python/cpython/issues/120373 and upstream PR: https://github.com/python/cpython/pull/120374 Reviewed By: mpage Differential Revision: D58622163 fbshipit-source-id: 09151285af192347bd9502e97f503e06337ab1cd --- Lib/test/test_audit.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_audit.py b/Lib/test/test_audit.py index 321d4f9abce..f075099913f 100644 --- a/Lib/test/test_audit.py +++ b/Lib/test/test_audit.py @@ -140,6 +140,9 @@ def test_gc(self): ) + # START META PATCH: https://github.com/python/cpython/issues/120373 + @support.requires_resource('network') + # END META PATCH def test_http(self): import_helper.import_module("http.client") returncode, events, stderr = self.run_python("test_http_client")