Skip to content

fix strict xpass#12

Merged
keewis merged 2 commits intoscientific-python:mainfrom
keewis:xfail-strict
Jan 11, 2023
Merged

fix strict xpass#12
keewis merged 2 commits intoscientific-python:mainfrom
keewis:xfail-strict

Conversation

@keewis
Copy link
Copy Markdown
Contributor

@keewis keewis commented Jan 11, 2023

As it turns out, XPASSing tests become failures with xfail_strict = true, but with the xfail reason as the longrepr. This caused the parser script to choke, because it violates the current assumption that longrepr is a chain object (which usually also contains a traceback).

The fix is to just use longrepr as the error message if it is already a string.

xref dask/dask#9818, cc @jrbourbeau

@keewis keewis merged commit 24fc30b into scientific-python:main Jan 11, 2023
@keewis keewis deleted the xfail-strict branch January 11, 2023 14:20
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