Skip to content

Commit 7bd77a0

Browse files
authored
Merge pull request #748 from danpalmer/patch-2
Fix warning output
2 parents f13e54b + 4e59cf3 commit 7bd77a0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

graphene/utils/deprecated.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66

77

88
def warn_deprecation(text):
9-
warnings.simplefilter('always', DeprecationWarning)
109
warnings.warn(
1110
text,
1211
category=DeprecationWarning,
1312
stacklevel=2
1413
)
15-
warnings.simplefilter('default', DeprecationWarning)
1614

1715

1816
def deprecated(reason):

0 commit comments

Comments
 (0)