def _accept_file(self, f):
    _, ext = os.path.splitext(f)
    return ext in self.extensions
Test that duplicate files in a package are caught.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/engine/exp/examples/sources.py/Sources._accept_file--crossover with--dataset/ETHPy150Open mozilla/app-validator/tests/test_packagelayout.py/test_duplicate_files