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

Method common_cases

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

Source from the content-addressed store, hash-verified

365 sorted(matches))
366
367 def common_cases(self):
368 return [
369 (['*'], self.filenames),
370 (['a*'], self.filenames_start_with_a),
371 (['*c'], ['*c']),
372 (['*', 'a*', '*b', '*c'], self.filenames
373 + self.filenames_start_with_a
374 + self.filenames_end_with_b
375 + ['*c']),
376 (['a[012]'], self.filenames_start_with_a),
377 ]
378
379 @skip_win32
380 def test_match_posix(self):

Callers 2

test_match_posixMethod · 0.95
test_match_windowsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected