Skip to content

Commit

Permalink
Patch test_audit.test_http to require 'network' resource
Browse files Browse the repository at this point in the history
Summary:
see upstream issue: python/cpython#120373
and upstream PR: python/cpython#120374

Reviewed By: mpage

Differential Revision: D58622163

fbshipit-source-id: 09151285af192347bd9502e97f503e06337ab1cd
  • Loading branch information
itamaro authored and facebook-github-bot committed Jun 19, 2024
1 parent 7ed2175 commit 61181f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/test/test_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 61181f3

Please sign in to comment.