##// END OF EJS Templates
Fix wrong u-prefix for strings in magics docs. (#14161)...
Fix wrong u-prefix for strings in magics docs. (#14161) `%precision` doesn't output `u'%r'` on Python 3, but `'%r'`. (Note that the point of this PR is explicitly not to remove u-prefixes on all strings -- something that would likely be better done by automated tooling anyways -- but only on those occurring within some docstrings that end up in the rendered docs, which would more likely not have been found by tooling.)

File last commit:

r27504:a96dd9e4
r28396:f5856e4b 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(".")