Skip to content

TST: Fix error in test on PyPy, add comment explaining known failure #9973

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

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

eric-wieser
Copy link
Member

self.assertEqual raises AttributeError

@@ -408,15 +408,16 @@ def test_longdouble_int(self):
assert_raises(OverflowError, int, x)
assert_equal(len(sup.log), 1)

@dec.knownfailureif(not IS_PYPY)
@dec.knownfailureif(not IS_PYPY,
"__int__ is not the same as int in cpython (gh-9972)")
Copy link
Member

Choose a reason for hiding this comment

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

Not quite PEP8, but looks better. Lots of these around, so not going to worry about it.

@charris charris merged commit 6063ee8 into numpy:master Nov 6, 2017
@charris
Copy link
Member

charris commented Nov 6, 2017

Thanks Eric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants