From b5f58ac33cecbf88532065788fd54dc5648de5c1 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sun, 12 Apr 2020 01:14:24 +0200 Subject: [PATCH] Ignore some slow files for the fuzzer --- test/fuzz_diff_parser.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/fuzz_diff_parser.py b/test/fuzz_diff_parser.py index 780b751..6137ab6 100644 --- a/test/fuzz_diff_parser.py +++ b/test/fuzz_diff_parser.py @@ -50,6 +50,11 @@ def find_python_files_in_tree(file_path): yield file_path return for root, dirnames, filenames in os.walk(file_path): + if 'chardet' in root: + # Stuff like chardet/langcyrillicmodel.py is just very slow to + # parse and machine generated, so ignore those. + continue + for name in filenames: if name.endswith('.py'): yield os.path.join(root, name)