def assert_files_same(path1, path2):
    # type: (str, str) -> None
    """Asserts that two files are the same and returns delta using
    -, ?, + format if not

    Args:
        path1 (str): Path to first file
        path2 (str): Path to second file

    Returns:
        None

    """
    difflines = compare_files(path1, path2)
    assert len(difflines) == 0, ''.join(['\n'] + difflines)
def assert_files_same ( path1 , path2 ) : difflines = compare_files ( path1 , path2 ) assert len ( difflines ) == 0 , '' . join ( [ '\n' ] + difflines )
Asserts that two files are the same and returns delta using
    -, ?, + format if not

    Args:
        path1 (str): Path to first file
        path2 (str): Path to second file

    Returns:
        None