Skip to content

Commit

Permalink
Merge pull request #179306 from Homebrew/ssh-mitm-test
Browse files Browse the repository at this point in the history
ssh-mitm: update test (ignore CryptographyDeprecationWarning warning)
  • Loading branch information
chenrui333 authored Aug 2, 2024
2 parents 4a453d0 + 53eb8fb commit 24f57e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/s/ssh-mitm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ def install
end

test do
# supress CryptographyDeprecationWarning warning,
# upstream bug report https://github.com/ssh-mitm/ssh-mitm/issues/177
ENV["PYTHONWARNINGS"] = "ignore"

require "pty"
port = free_port

Expand Down

0 comments on commit 24f57e8

Please sign in to comment.