-
-
Notifications
You must be signed in to change notification settings - Fork 26k
TST/CI Fixes import for hashing test for PyPy #15170
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
Conversation
Sorry @thomasjpfan didn't see your PR. It should have been fixed in 4ef679b on master this morning, but I guess using suppress is also a possibility (though I'm not very keen on silently ignoring import errors on all platforms). |
Hmm, though I should have indeed checked it more carefully. Not sure why |
I tried that fix on master here: b03b34a and it didn't work on this PR. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, once the Circle CI change is reverted. I don't really understand why we have to do all this..
The fix was to remove the |
@@ -580,7 +580,7 @@ def set_random_state(estimator, random_state=0): | |||
reason='skipped on 32bit platforms') | |||
skip_travis = pytest.mark.skipif(os.environ.get('TRAVIS') == 'true', | |||
reason='skip on travis') | |||
fails_if_pypy = pytest.mark.xfail(IS_PYPY, raises=NotImplementedError, | |||
fails_if_pypy = pytest.mark.xfail(IS_PYPY, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aww makes sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking time to get to the bottom of it @thomasjpfan !
Fixes error on master when running on pypy.
This is set to NOMRG, because the circleci config must be adjusted to run the pypy test on this PR.