Calysto / metakernel

Jupyter/IPython Kernel Tools
BSD 3-Clause "New" or "Revised" License
347 stars 84 forks source link

Escape backslashes in strings #226

Closed ellert closed 4 years ago

ellert commented 4 years ago

Addresses these warnings:

metakernel/tests/test_parser.py:74
  /builddir/build/BUILD/metakernel-0.27.3/metakernel/tests/test_parser.py:74: DeprecationWarning: invalid escape sequence \ 
    assert "Test\ Dir/" in info['path_matches'], info['path_matches']
metakernel/tests/test_parser.py:104
  /builddir/build/BUILD/metakernel-0.27.3/metakernel/tests/test_parser.py:104: DeprecationWarning: invalid escape sequence \ 
    assert "Test\ Dir/" in info['path_matches'], info['path_matches']
metakernel/tests/test_parser.py:116
  /builddir/build/BUILD/metakernel-0.27.3/metakernel/tests/test_parser.py:116: DeprecationWarning: invalid escape sequence \ 
    assert 'Test\ Dir/' in info['path_matches'], info
-- Docs: https://docs.pytest.org/en/stable/warnings.html
coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 75.25% when pulling 4573c5081ae3eb19c1669d206e9b644bb72edc5d on ellert:escape-backslash into 50e61294994685428fcd584581471628d69da04f on Calysto:master.

blink1073 commented 4 years ago

I just cut 0.27.5