MCPcopy Index your code
hub / github.com/python/cpython / test_glob_non_directory

Method test_glob_non_directory

Lib/test/test_glob.py:349–358  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

347 [join(*i) for i in full+rec])
348
349 def test_glob_non_directory(self):
350 eq = self.assertSequencesEqual_noorder
351 eq(self.rglob('EF'), self.joins(('EF',)))
352 eq(self.rglob('EF', ''), [])
353 eq(self.rglob('EF', '*'), [])
354 eq(self.rglob('EF', '**'), [])
355 eq(self.rglob('nonexistent'), [])
356 eq(self.rglob('nonexistent', ''), [])
357 eq(self.rglob('nonexistent', '*'), [])
358 eq(self.rglob('nonexistent', '**'), [])
359
360 @unittest.skipUnless(hasattr(os, "mkfifo"), 'requires os.mkfifo()')
361 @unittest.skipIf(sys.platform == "vxworks",

Callers

nothing calls this directly

Calls 3

rglobMethod · 0.95
joinsMethod · 0.95
eqFunction · 0.85

Tested by

no test coverage detected