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

Method walk

Lib/test/test_os/test_os.py:1680–1683  ·  view source on GitHub ↗
(self, top, **kwargs)

Source from the content-addressed store, hash-verified

1678 # Wrapper to hide minor differences between os.walk and os.fwalk
1679 # to tests both functions with the same code base
1680 def walk(self, top, **kwargs):
1681 if 'follow_symlinks' in kwargs:
1682 kwargs['followlinks'] = kwargs.pop('follow_symlinks')
1683 return os.walk(top, **kwargs)
1684
1685 def setUp(self):
1686 join = os.path.join

Callers 15

test_walk_topdownMethod · 0.95
test_walk_pruneMethod · 0.95
test_walk_bottom_upMethod · 0.95
test_walk_symlinkMethod · 0.95
test_walk_bad_dirMethod · 0.95
test_walk_bad_dir2Method · 0.95
test_walk_named_pipeMethod · 0.95
test_walk_named_pipe2Method · 0.95
tearDownMethod · 0.45
_del_pkgMethod · 0.45

Calls 1

popMethod · 0.45

Tested by

no test coverage detected