mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
remove unused function
This commit is contained in:
parent
67dbb1afda
commit
cb5f1fa51d
17
clint.py
17
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user