Kaydet (Commit) 20428527 authored tarafından Mario Corchero's avatar Mario Corchero Kaydeden (comit) Pablo Galindo

Remove unused function in `testmock/support.py` (GH-10975)

The function is never imported and the implementation is actually buggy.
As `warnings.catch_warnings` is not imported here.
üst 0644b338
......@@ -12,10 +12,3 @@ class SomeClass(object):
class X(object):
pass
def examine_warnings(func):
def wrapper():
with catch_warnings(record=True) as ws:
func(ws)
return wrapper
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment