Unmark passing tests due to CI limitations

This commit is contained in:
Padraic Fanning
2022-06-21 23:25:17 -04:00
parent f836870d82
commit 165df16945
3 changed files with 4 additions and 27 deletions

View File

@@ -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'):

View File

@@ -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"""

View File

@@ -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 ()