##// END OF EJS Templates
Backport PR #11054: MAINT: Update locate_profile import to avoid warning...
Backport PR #11054: MAINT: Update locate_profile import to avoid warning Description Currently `IPython.core.history.HistoryAccessor` throws a `UserWarning` upon creation due to an import of `locate_profile`. I realize I can silence the warning in my application but figured this deserved a quick fix. ``` UserWarning: locate_profile has moved to the IPython.paths module since IPython 4.0. return os.path.join(locate_profile(profile), 'history.sqlite') ``` Signed-off-by: Thomas Kluyver <thomas@kluyver.me.uk>
Thomas Kluyver -
r24226:d77d07c9
Show More
Name Size Modified Last Commit Author
/ IPython / utils / tests
__init__.py Loading ...
test_capture.py Loading ...
test_decorators.py Loading ...
test_dir2.py Loading ...
test_imports.py Loading ...
test_importstring.py Loading ...
test_io.py Loading ...
test_module_paths.py Loading ...
test_openpy.py Loading ...
test_path.py Loading ...
test_process.py Loading ...
test_pycolorize.py Loading ...
test_shimmodule.py Loading ...
test_sysinfo.py Loading ...
test_tempdir.py Loading ...
test_text.py Loading ...
test_tokenutil.py Loading ...
test_wildcard.py Loading ...