1 from IPython.utils.syspathcontext import appended_to_syspath 2 import pytest 3 4 5 def test_append_deprecated(): 6 with pytest.warns(DeprecationWarning): 7 appended_to_syspath(".") 8