Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Correct nested expr equivalence #3624

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Commits on Oct 2, 2024

  1. test: Correct nested expr equivalence

    Spotted while investigating #3616 (comment)
    
    When I originally wrote this test, I didn't realise I was comparing:
    ```py
    GetAttrExpression(Parameter.name, "expr") == GetAttrExpression(Parameter.name, "expr")
    ```
    
    The intention was to compare the contents were the same.
    
    Due to `OperatorMixin.__eq__`, the previous assertion would always return `True`.
    dangotbanned committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    7cfb4e0 View commit details
    Browse the repository at this point in the history