@@ -311,6 +311,8 @@ def test_temp_cwd__name_none(self):
311311 def test_sortdict (self ):
312312 self .assertEqual (support .sortdict ({3 :3 , 2 :2 , 1 :1 }), "{1: 1, 2: 2, 3: 3}" )
313313
314+ # TODO: RUSTPYTHON
315+ @unittest .expectedFailure
314316 def test_make_bad_fd (self ):
315317 fd = os_helper .make_bad_fd ()
316318 with self .assertRaises (OSError ) as cm :
@@ -421,6 +423,8 @@ def test_detect_api_mismatch__ignore(self):
421423 self .OtherClass , self .RefClass , ignore = ignore )
422424 self .assertEqual (set (), missing_items )
423425
426+ # TODO: RUSTPYTHON
427+ @unittest .expectedFailure
424428 def test_check__all__ (self ):
425429 extra = {'tempdir' }
426430 not_exported = {'template' }
@@ -547,9 +551,11 @@ def test_optim_args_from_interpreter_flags(self):
547551 with self .subTest (opts = opts ):
548552 self .check_options (opts , 'optim_args_from_interpreter_flags' )
549553
554+ # TODO: RustPython
550555 @unittest .skipIf (support .is_apple_mobile , "Unstable on Apple Mobile" )
551556 @unittest .skipIf (support .is_emscripten , "Unstable in Emscripten" )
552557 @unittest .skipIf (support .is_wasi , "Unavailable on WASI" )
558+ @unittest .expectedFailure
553559 def test_fd_count (self ):
554560 # We cannot test the absolute value of fd_count(): on old Linux kernel
555561 # or glibc versions, os.urandom() keeps a FD open on /dev/urandom
@@ -582,6 +588,8 @@ def test_has_strftime_extensions(self):
582588 else :
583589 self .assertTrue (support .has_strftime_extensions )
584590
591+ # TODO: RUSTPYTHON
592+ @unittest .expectedFailure
585593 def test_get_recursion_depth (self ):
586594 # test support.get_recursion_depth()
587595 code = textwrap .dedent ("""
@@ -625,6 +633,8 @@ def test_recursive(depth, limit):
625633 """ )
626634 script_helper .assert_python_ok ("-c" , code )
627635
636+ # TODO: RustPython
637+ @unittest .skip ("TODO: RustPython stack overflow" )
628638 def test_recursion (self ):
629639 # Test infinite_recursion() and get_recursion_available() functions.
630640 def recursive_function (depth ):
0 commit comments