tests/html_test.py
def delete_file(year) -> None:
    """
    Remove file for given year if it exists, bubble exceptions to toplevel
    """
    filename = "{}/{}.html".format(OUTPUT_DIR, year)
    if exists(filename):
        try:
            remove(filename)
        except OSError as o:
            print("Could not delete {}".format(filename))
            raise o

    Remove file for given year if it exists, bubble exceptions to toplevel
    
Remove file for given year if it exists, bubble exceptions to toplevel
Remove file for given year if it exists bubble exceptions to toplevel
def delete_file(year) -> None:
    filename = "{}/{}.html".format(OUTPUT_DIR, year)
    if exists(filename):
        try:
            remove(filename)
        except OSError as o:
            print("Could not delete {}".format(filename))
            raise o
def delete_file ( year ) -> None : filename = "{}/{}.html" . format ( OUTPUT_DIR , year ) if exists ( filename ) : try : remove ( filename ) except OSError as o : print ( "Could not delete {}" . format ( filename ) ) raise o
Remove file for given year if it exists, bubble exceptions to toplevel
Remove file for given year if it exists bubble exceptions to toplevel
"""
    Remove file for given year if it exists, bubble exceptions to toplevel
    """
year