test_deprecated.py
7 lines
| 183 B
| text/x-python
|
PythonLexer
Matthias Bussonnier
|
r27504 | from IPython.utils.syspathcontext import appended_to_syspath | ||
import pytest | ||||
def test_append_deprecated(): | ||||
with pytest.warns(DeprecationWarning): | ||||
appended_to_syspath(".") | ||||