Skip to content

fix: make interrupt test reliable on Python 3.11

e36eff2
Select commit
Loading
Failed to load commit list.
Closed

[harness] apache/datafusion-python#1484: feat: add AI skill to find and improve the Pythonic interface to functions #21

fix: make interrupt test reliable on Python 3.11
e36eff2
Select commit
Loading
Failed to load commit list.
logomesh / LogoMesh failed Apr 19, 2026 in 1m 10s

Issues found

coerce_to_expr — missing attribute value

coerce_to_expr('test')  →  AttributeError: 'Expr' object has no attribute 'value'

Location: python/datafusion/expr.py:103 · reproduced 2× · base checked · 2 similar inputs

Regression test
import pytest
from target import coerce_to_expr

def test_string_wrap_regression():
    """Ensure that a string value is correctly wrapped in an Expr."""
    result = coerce_to_expr('test')
    assert isinstance(result, Expr)  # Assuming Expr is the expected type for wrapped expressions