Skip to content

Conversation

@pandaayushman
Copy link

JAX chexify traceback filtering can drop user-frame filenames on windows, causing test_docstring_example to fail due to filename dependent regex. This change relaxes the test assertion to account for platform specific traceback nature while preserving verification that the right chexify assertion is raised.


# On Windows, JAX traceback filtering drops the user-frame filename.
expected_regex = (
err_regex if sys.platform == "win32"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the quote delimiters to fix the CI

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.

2 participants