We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f914126 commit 1444737Copy full SHA for 1444737
jupyter_server/transutils.py
@@ -10,7 +10,7 @@
10
11
def _trans_gettext_deprecation_helper(*args, **kwargs):
12
warn_msg = "The alias `_()` will be deprecated. Use `_i18n()` instead."
13
- warnings.warn(warn_msg, FutureWarning)
+ warnings.warn(warn_msg, FutureWarning, stacklevel=2)
14
return trans.gettext(*args, **kwargs)
15
16
0 commit comments