@staticmethod
def identify_tests(code, settings):
    """Identifies all block and inline test formats"""
    block_tests = list(filter(lambda s: s['block_comments'], settings.tests))
    inline_tests = list(filter(lambda s: s['inline_comments'], settings.tests))
    return block_tests, inline_tests
