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

Method test_rglob_posix

Lib/test/test_pathlib/test_pathlib.py:3088–3095  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3086
3087 @needs_posix
3088 def test_rglob_posix(self):
3089 P = self.cls
3090 p = P(self.base, "dirC")
3091 q = p / "dirD" / "FILEd"
3092 given = set(p.rglob("FILEd"))
3093 expect = {q} if q.exists() else set()
3094 self.assertEqual(given, expect)
3095 self.assertEqual(set(p.rglob("FILEd*")), set())
3096
3097 @needs_windows
3098 def test_rglob_windows(self):

Callers

nothing calls this directly

Calls 5

setFunction · 0.85
PClass · 0.70
rglobMethod · 0.45
existsMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected