@@ -583,6 +583,7 @@ def test_confstr(self):
583583 self .assertGreater (len (path ), 0 )
584584 self .assertEqual (posix .confstr (posix .confstr_names ["CS_PATH" ]), path )
585585
586+ @unittest .expectedFailureIf (sys .platform in ('darwin' , 'linux' ), '''TODO: RUSTPYTHON; AssertionError: "configuration names must be strings or integers" does not match "Expected type 'str' but 'float' found."''' )
586587 @unittest .skipUnless (hasattr (posix , 'sysconf' ),
587588 'test needs posix.sysconf()' )
588589 def test_sysconf (self ):
@@ -1017,6 +1018,7 @@ def test_chmod_dir(self):
10171018 target = self .tempdir ()
10181019 self .check_chmod (posix .chmod , target )
10191020
1021+ @unittest .skipIf (sys .platform in ('darwin' , 'linux' ), 'TODO: RUSTPYTHON; crash' )
10201022 @os_helper .skip_unless_working_chmod
10211023 def test_fchmod_file (self ):
10221024 with open (os_helper .TESTFN , 'wb+' ) as f :
@@ -1073,6 +1075,7 @@ def test_chmod_file_symlink(self):
10731075 self .check_chmod_link (posix .chmod , target , link )
10741076 self .check_chmod_link (posix .chmod , target , link , follow_symlinks = True )
10751077
1078+ @unittest .expectedFailureIfWindows ('TODO: RUSTPYTHON' )
10761079 @os_helper .skip_unless_symlink
10771080 def test_chmod_dir_symlink (self ):
10781081 target = self .tempdir ()
@@ -1566,6 +1569,7 @@ def test_chown_dir_fd(self):
15661569 with self .prepare_file () as (dir_fd , name , fullname ):
15671570 posix .chown (name , os .getuid (), os .getgid (), dir_fd = dir_fd )
15681571
1572+ @unittest .expectedFailureIf (sys .platform in ('darwin' , 'linux' ), 'TODO: RUSTPYTHON; AssertionError: RuntimeWarning not triggered' )
15691573 @unittest .skipUnless (os .stat in os .supports_dir_fd , "test needs dir_fd support in os.stat()" )
15701574 def test_stat_dir_fd (self ):
15711575 with self .prepare () as (dir_fd , name , fullname ):
@@ -1968,6 +1972,7 @@ def test_setsigdef_wrong_type(self):
19681972 [sys .executable , "-c" , "pass" ],
19691973 os .environ , setsigdef = [signal .NSIG , signal .NSIG + 1 ])
19701974
1975+ @unittest .expectedFailureIf (sys .platform in ('darwin' , 'linux' ), 'TODO: RUSTPYTHON; NotImplementedError: scheduler parameter is not yet implemented' )
19711976 @requires_sched
19721977 @unittest .skipIf (sys .platform .startswith (('freebsd' , 'netbsd' )),
19731978 "bpo-34685: test can fail on BSD" )
@@ -1988,6 +1993,7 @@ def test_setscheduler_only_param(self):
19881993 )
19891994 support .wait_process (pid , exitcode = 0 )
19901995
1996+ @unittest .expectedFailureIf (sys .platform in ('darwin' , 'linux' ), 'TODO: RUSTPYTHON; NotImplementedError: scheduler parameter is not yet implemented' )
19911997 @requires_sched
19921998 @unittest .skipIf (sys .platform .startswith (('freebsd' , 'netbsd' )),
19931999 "bpo-34685: test can fail on BSD" )
0 commit comments