diff --git a/graphene/utils/deprecated.py b/graphene/utils/deprecated.py index f70b2e7d..d00642f8 100644 --- a/graphene/utils/deprecated.py +++ b/graphene/utils/deprecated.py @@ -6,13 +6,11 @@ string_types = (type(b''), type(u'')) def warn_deprecation(text): - warnings.simplefilter('always', DeprecationWarning) warnings.warn( text, category=DeprecationWarning, stacklevel=2 ) - warnings.simplefilter('default', DeprecationWarning) def deprecated(reason):