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

Adjust tests: don't assert on GetAttrKey, catch and check warnings. #48

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

danieldjohnson
Copy link
Collaborator

Changes pytree-fallback test to use a custom class instead of GetAttrKey to avoid depending on the repr of GetAttrKey.

Also adds checks for warnings generated by error fallback logic.

Changes pytree-fallback test to use a custom class instead of GetAttrKey
to avoid depending on the repr of GetAttrKey.

Also adds checks for warnings generated by error fallback logic.
@danieldjohnson danieldjohnson merged commit fa93987 into main Nov 21, 2024
2 checks passed
@danieldjohnson danieldjohnson deleted the test_tweak_getattrkey_and_warnings branch November 21, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant