MCPcopy
hub / github.com/mitmproxy/mitmproxy / eq_maybe

Function eq_maybe

test/mitmproxy/proxy/layers/http/test_http_fuzz.py:501–507  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

499 evts["err_server_rst"] = server_rst, send_upstream, server_disc
500
501 def eq_maybe(a, b):
502 # _eq helpfully raises a TypeError when placeholder types don't match
503 # that is useful in (test) development, but may happen legitimately when fuzzing here.
504 try:
505 return _eq(a, b)
506 except TypeError:
507 return False
508
509 while evts:
510 candidates = []

Callers 1

_test_cancelFunction · 0.85

Calls 1

_eqFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…