Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show the actual line for DeprecationWarning
By default, a call to 'warnings.warn()' will mention the line where that call is performed. Being a library, our goal is to point to the user code provoking the DeprecationWarning - using stacklevel=2 to refer to the caller of the 'use_strategy' function.
- Loading branch information