# Test workflow with Python script error (different error format)
# Tests: error parsing for Python exceptions

rule all:
    input: "output/result.txt"

rule create_input:
    output: "output/input.txt"
    shell: "echo 'test' > {output}"

rule python_error:
    input: "output/input.txt"
    output: "output/result.txt"
    run:
        # This will raise a Python exception
        raise ValueError("Intentional Python script error for testing")
