MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_glob_non_directory

Method test_glob_non_directory

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

rglobMethod · 0.95
joinsMethod · 0.95
eqFunction · 0.50

Tested by

no test coverage detected