##// END OF EJS Templates
Fix DeprecationWarning on 3.12 with a datetime adapter for sqlite3 (#14139)...
Fix DeprecationWarning on 3.12 with a datetime adapter for sqlite3 (#14139) After python/cpython#90016, default adapters and converters are deprecated. See also https://docs.python.org/3.12/library/sqlite3.html#sqlite3-adapter-converter-recipes

File last commit:

r27504:a96dd9e4
r28376:46c7ccf0 merge
Show More
test_deprecated.py
7 lines | 183 B | text/x-python | PythonLexer
from IPython.utils.syspathcontext import appended_to_syspath
import pytest
def test_append_deprecated():
with pytest.warns(DeprecationWarning):
appended_to_syspath(".")