Commit 20428527 authored by Mario Corchero's avatar Mario Corchero Committed by 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.
parent 0644b338
...@@ -12,10 +12,3 @@ class SomeClass(object): ...@@ -12,10 +12,3 @@ class SomeClass(object):
class X(object): class X(object):
pass 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