def errorless_file_fixture(tmpdir):
    """ Simulate a file that contains python code without errors """
    source = tmpdir.join("errorless_code.py")
    source.write("print('This code should execute flawlessly')")
    return source