Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add annotation to skiped test
  • Loading branch information
Masorubka1 authored and youknowone committed Apr 20, 2023
commit fddbf0728a323d4c4bbd48ef73435a9b626f8f47
5 changes: 2 additions & 3 deletions Lib/test/test_poll.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def test_poll_c_limits(self):
self.assertRaises(OverflowError, pollster.poll, INT_MAX + 1)
self.assertRaises(OverflowError, pollster.poll, UINT_MAX + 1)

@unittest.skip("TODO: RUSTPYTHON")
@unittest.skip("TODO: RUSTPYTHON fd reallocation")
@threading_helper.reap_threads
def test_threaded_poll(self):
r, w = os.pipe()
Expand All @@ -197,7 +197,6 @@ def test_threaded_poll(self):
pollster = select.poll()
for fd in rfds:
pollster.register(fd, select.POLLIN)

t = threading.Thread(target=pollster.poll)
t.start()
try:
Expand All @@ -212,7 +211,7 @@ def test_threaded_poll(self):
os.write(w, b'spam')
t.join()

# TODO: RUSTPYTHON
# TODO: RUSTPYTHON add support for negative timeout
@unittest.expectedFailure
@unittest.skipUnless(threading, 'Threading required for this test.')
@threading_helper.reap_threads
Expand Down