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.
This commit is contained in:
Mario Corchero 2018-12-06 17:05:46 +00:00 committed by Pablo Galindo
parent 0644b33821
commit 20428527a7
1 changed files with 0 additions and 7 deletions

View File

@ -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