From cb5f1fa51d32912e346b86fb34468ce2a44c616c Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Wed, 5 Mar 2014 21:40:44 +0100 Subject: remove unused function --- clint.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/clint.py b/clint.py index 5468a006dc..7196188099 100755 --- a/clint.py +++ b/clint.py @@ -3511,23 +3511,6 @@ def _DropCommonSuffixes(filename): return os.path.splitext(filename)[0] -def _IsTestFilename(filename): - """Determines if the given filename has a suffix that identifies it as a test. - - Args: - filename: The input filename. - - Returns: - True if 'filename' looks like a test, False otherwise. - """ - if (filename.endswith('_test.cc') or - filename.endswith('_unittest.cc') or - filename.endswith('_regtest.cc')): - return True - else: - return False - - def _ClassifyInclude(fileinfo, include, is_system): """Figures out what kind of header 'include' is. -- cgit