-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add test_poll.py from Cpython v3.11.2 #4888
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
Lib/test/test_poll.py
Outdated
self.assertRaises(OverflowError, pollster.poll, INT_MAX + 1) | ||
self.assertRaises(OverflowError, pollster.poll, UINT_MAX + 1) | ||
|
||
@unittest.skip("TODO: RUSTPYTHON") |
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.
@unittest.skip("TODO: RUSTPYTHON") | |
@unittest.skip("TODO: RUSTPYTHON, I forget why we're skipping this. @Masorubka1 do you know why?") |
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.
because rustpython fails filedescriptor reallocation
# trigger ufds array reallocation
for fd in rfds:
pollster.unregister(fd)
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.
@unittest.skip("TODO: RUSTPYTHON") | |
@unittest.skip("TODO: RUSTPYTHON, fd reallocation") |
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.
@fanninpm adding reason will be nice, but I don't want to make them as burden for contributors
@fanninpm well, there is flap test(as i understand)[or some invalid pointers]. |
9b8ba21
to
fddbf07
Compare
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.
Thank you!
No description provided.