MCPcopy Create free account
hub / github.com/ipython/ipython / test_unescape_glob

Function test_unescape_glob

IPython/utils/tests/test_path.py:400–405  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

398
399
400def test_unescape_glob():
401 nt.assert_equal(path.unescape_glob(r'\*\[\!\]\?'), '*[!]?')
402 nt.assert_equal(path.unescape_glob(r'\\*'), r'\*')
403 nt.assert_equal(path.unescape_glob(r'\\\*'), r'\*')
404 nt.assert_equal(path.unescape_glob(r'\\a'), r'\a')
405 nt.assert_equal(path.unescape_glob(r'\a'), r'\a')
406
407
408@onlyif_unicode_paths

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected