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

Method test_match_posix

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

Source from the content-addressed store, hash-verified

378
379 @skip_win32
380 def test_match_posix(self):
381 for (patterns, matches) in self.common_cases() + [
382 ([r'\*'], ['*']),
383 ([r'a\*', 'a*'], ['a*'] + self.filenames_start_with_a),
384 ([r'a\[012]'], ['a[012]']),
385 ]:
386 yield (self.check_match, patterns, matches)
387
388 @skip_if_not_win32
389 def test_match_windows(self):

Callers

nothing calls this directly

Calls 1

common_casesMethod · 0.95

Tested by

no test coverage detected