Commit 3ba436a3 authored by Jason R. Coombs's avatar Jason R. Coombs

Bump stacklevel to 2 to inform the caller of the issue.

parent f7df5613
......@@ -2261,6 +2261,7 @@ class EntryPoint(object):
"`require` parameter is deprecated. Use "
"EntryPoint._load instead.",
DeprecationWarning,
stacklevel=2,
)
return self._load()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment