mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
add annotation to skiped test
This commit is contained in:
1 parent
be54e89ba6
commit
fddbf0728a
1 file changed
+2
-3
Vendored
+2
-3
@@ -183,7 +183,7 @@ class PollTests(unittest.TestCase):
|
||||
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()
|
||||
@@ -197,7 +197,6 @@ class PollTests(unittest.TestCase):
|
||||
pollster = select.poll()
|
||||
for fd in rfds:
|
||||
pollster.register(fd, select.POLLIN)
|
||||
|
||||
t = threading.Thread(target=pollster.poll)
|
||||
t.start()
|
||||
try:
|
||||
@@ -212,7 +211,7 @@ class PollTests(unittest.TestCase):
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user