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

Method check_match

IPython/utils/tests/test_path.py:361–365  ·  view source on GitHub ↗
(self, patterns, matches)

Source from the content-addressed store, hash-verified

359 os.chdir(save)
360
361 def check_match(self, patterns, matches):
362 with self.in_tempdir():
363 # glob returns unordered list. that's why sorted is required.
364 nt.assert_equal(sorted(path.shellglob(patterns)),
365 sorted(matches))
366
367 def common_cases(self):
368 return [

Callers

nothing calls this directly

Calls 1

in_tempdirMethod · 0.95

Tested by

no test coverage detected