Skip to content

Commit dc8a95d

Browse files
committed
adjust failng test markers
1 parent 531c42c commit dc8a95d

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

Lib/test/test_support.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def tearDownClass(cls):
4444
)
4545
assert len(warnings.filters) == orig_filter_len - 2
4646

47+
# TODO: RUSTPYTHON
48+
@unittest.expectedFailure
4749
def test_ignored_deprecations_are_silent(self):
4850
"""Test support.ignore_deprecations_from() silences warnings"""
4951
with warnings.catch_warnings(record=True) as warning_objs:
@@ -661,7 +663,6 @@ def id(self):
661663
self.assertTrue(support.match_test(test_chdir))
662664

663665
@unittest.skipIf(sys.platform.startswith("win"), "TODO: RUSTPYTHON; os.dup on windows")
664-
@unittest.skipIf(sys.platform == 'darwin', "TODO: RUSTPYTHON; spurious fd_count() failures on macos?")
665666
def test_fd_count(self):
666667
# We cannot test the absolute value of fd_count(): on old Linux
667668
# kernel or glibc versions, os.urandom() keeps a FD open on

Lib/test/test_traceback.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ def do_test(firstlines, message, charset, lineno):
208208

209209
# TODO: RUSTPYTHON
210210
@unittest.expectedFailure
211-
@support.requires_type_collecting
212211
def test_print_traceback_at_exit(self):
213212
# Issue #22599: Ensure that it is possible to use the traceback module
214213
# to display an exception at Python exit

Lib/test/test_zipimport.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,8 @@ def testTraceback(self):
740740
files = {TESTMOD + ".py": (NOW, raise_src)}
741741
self.doTest(None, files, TESTMOD, call=self.doTraceback)
742742

743+
# TODO: RUSTPYTHON
744+
@unittest.expectedFailure
743745
@unittest.skipIf(os_helper.TESTFN_UNENCODABLE is None,
744746
"need an unencodable filename")
745747
def testUnencodable(self):

0 commit comments

Comments
 (0)