Searched refs:ignore_patterns (Results 1 – 6 of 6) sorted by relevance
1029 def set_match_tests(accept_patterns=None, ignore_patterns=None): argument1035 if ignore_patterns is None:1036 ignore_patterns = ()1042 if ignore_patterns != _ignore_test_patterns:1043 ignore_patterns, ignore_func = _compile_match_function(ignore_patterns)1047 _ignore_test_patterns = tuple(ignore_patterns)
221 .. function:: ignore_patterns(*patterns)259 process. :func:`ignore_patterns` can be used to create such a callable that508 Another example that uses the :func:`ignore_patterns` helper::510 from shutil import copytree, ignore_patterns512 copytree(source, destination, ignore=ignore_patterns('*.pyc', 'tmp*'))
614 support.set_match_tests(ignore_patterns=[])
542 patterns = shutil.ignore_patterns('*.tmp', 'test_dir2')551 patterns = shutil.ignore_patterns('*.tmp', 'subdir*')
438 def ignore_patterns(*patterns): function
2304 The :mod:`shutil` module also provides an :func:`ignore_patterns`2305 function for use with this new parameter. :func:`ignore_patterns`2313 ignore=shutil.ignore_patterns('*~', '.svn'))