forked from Rust-related/RustPython
Unmark passing tests due to CI limitations
This commit is contained in:
6
Lib/test/test_socket.py
vendored
6
Lib/test/test_socket.py
vendored
@@ -1487,8 +1487,6 @@ class GeneralModuleTests(unittest.TestCase):
|
||||
|
||||
@unittest.skipUnless(support.is_resource_enabled('network'),
|
||||
'network is not enabled')
|
||||
# TODO: RUSTPYTHON, socket.gethostbyname_ex
|
||||
@unittest.expectedFailure
|
||||
def test_idna(self):
|
||||
# Check for internet access before running test
|
||||
# (issue #12804, issue #25138).
|
||||
@@ -1504,6 +1502,10 @@ class GeneralModuleTests(unittest.TestCase):
|
||||
# have a reverse entry yet
|
||||
# socket.gethostbyaddr('испытание.python.org')
|
||||
|
||||
# TODO: RUSTPYTHON, socket.gethostbyname_ex
|
||||
if sys.platform != "darwin":
|
||||
test_idna = unittest.expectedFailure(test_idna)
|
||||
|
||||
def check_sendall_interrupted(self, with_timeout):
|
||||
# socketpair() is not strictly required, but it makes things easier.
|
||||
if not hasattr(signal, 'alarm') or not hasattr(socket, 'socketpair'):
|
||||
|
||||
15
Lib/test/test_xmlrpc.py
vendored
15
Lib/test/test_xmlrpc.py
vendored
@@ -394,11 +394,6 @@ class SimpleXMLRPCDispatcherTestCase(unittest.TestCase):
|
||||
self.assertIsNone(exc_ctx.exception.__cause__)
|
||||
self.assertIsNone(exc_ctx.exception.__context__)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
import os
|
||||
if os.getenv("CI"):
|
||||
test_call_registered_func = unittest.expectedFailure(test_call_registered_func)
|
||||
|
||||
def test_call_instance_func(self):
|
||||
"""Calls a registered instance attribute as a function"""
|
||||
# Makes sure any exception raised inside the function has no other
|
||||
@@ -418,11 +413,6 @@ class SimpleXMLRPCDispatcherTestCase(unittest.TestCase):
|
||||
self.assertIsNone(exc_ctx.exception.__cause__)
|
||||
self.assertIsNone(exc_ctx.exception.__context__)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
import os
|
||||
if os.getenv("CI"):
|
||||
test_call_instance_func = unittest.expectedFailure(test_call_instance_func)
|
||||
|
||||
def test_call_dispatch_func(self):
|
||||
"""Calls the registered instance's `_dispatch` function"""
|
||||
# Makes sure any exception raised inside the function has no other
|
||||
@@ -444,11 +434,6 @@ class SimpleXMLRPCDispatcherTestCase(unittest.TestCase):
|
||||
self.assertIsNone(exc_ctx.exception.__cause__)
|
||||
self.assertIsNone(exc_ctx.exception.__context__)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
import os
|
||||
if os.getenv("CI"):
|
||||
test_call_dispatch_func = unittest.expectedFailure(test_call_dispatch_func)
|
||||
|
||||
def test_registered_func_is_none(self):
|
||||
"""Calls explicitly registered function which is None"""
|
||||
|
||||
|
||||
10
Lib/test/test_yield_from.py
vendored
10
Lib/test/test_yield_from.py
vendored
@@ -298,11 +298,6 @@ class TestPEP380Operation(unittest.TestCase):
|
||||
"Finishing g1",
|
||||
])
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
import os
|
||||
if os.getenv("CI"):
|
||||
test_handing_exception_while_delegating_close = unittest.expectedFailure(test_handing_exception_while_delegating_close)
|
||||
|
||||
def test_delegating_throw(self):
|
||||
"""
|
||||
Test delegating 'throw'
|
||||
@@ -889,11 +884,6 @@ class TestPEP380Operation(unittest.TestCase):
|
||||
"Enter f",
|
||||
])
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
import os
|
||||
if os.getenv("CI"):
|
||||
test_throwing_GeneratorExit_into_subgen_that_raises = unittest.expectedFailure(test_throwing_GeneratorExit_into_subgen_that_raises)
|
||||
|
||||
def test_yield_from_empty(self):
|
||||
def g():
|
||||
yield from ()
|
||||
|
||||
Reference in New Issue
Block a user