##// END OF EJS Templates
terminal: Fix IndexError when attempting to elide paths with empty components
terminal: Fix IndexError when attempting to elide paths with empty components

File last commit:

r27504:a96dd9e4
r27739:b8d9894b
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(".")