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

Method test_match_windows

IPython/utils/tests/test_path.py:389–397  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

387
388 @skip_if_not_win32
389 def test_match_windows(self):
390 for (patterns, matches) in self.common_cases() + [
391 # In windows, backslash is interpreted as path
392 # separator. Therefore, you can't escape glob
393 # using it.
394 ([r'a\*', 'a*'], [r'a\*'] + self.filenames_start_with_a),
395 ([r'a\[012]'], [r'a\[012]']),
396 ]:
397 yield (self.check_match, patterns, matches)
398
399
400def test_unescape_glob():

Callers

nothing calls this directly

Calls 1

common_casesMethod · 0.95

Tested by

no test coverage detected