You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importpytestimportwarningstry:
withpytest.warns(UserWarning, match="Warning"):
raiseTypeError("Hello")
warnings.warn("Warning", UserWarning)
x=10exceptTypeError:
pass# Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) were emitted.# Emitted warnings: [].
The text was updated successfully, but these errors were encountered:
https://github.com/modin-project/modin/actions/runs/7697508576/job/20974753158?pr=6862
the following code fails starting with pytest 8.0.0 (example in our tests)
The text was updated successfully, but these errors were encountered: