Skip to content

Commit

Permalink
deprecated decorator change default category from FutureWarning to De…
Browse files Browse the repository at this point in the history
…precationWarning
  • Loading branch information
janosh authored Jul 15, 2023
1 parent 2b91561 commit d8a5b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monty/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
logger = logging.getLogger(__name__)


def deprecated(replacement=None, message=None, category=FutureWarning):
def deprecated(replacement=None, message=None, category=DeprecationWarning):
"""
Decorator to mark classes or functions as deprecated,
with a possible replacement.
Expand Down

0 comments on commit d8a5b2d

Please sign in to comment.