@@ -196,7 +196,6 @@ def test_rmtree_works_on_bytes(self):
196196 self .assertIsInstance (victim , bytes )
197197 shutil .rmtree (victim )
198198
199- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON" )
200199 @os_helper .skip_unless_symlink
201200 def test_rmtree_fails_on_symlink_onerror (self ):
202201 tmp = self .mkdtemp ()
@@ -216,7 +215,6 @@ def onerror(*args):
216215 self .assertEqual (errors [0 ][1 ], link )
217216 self .assertIsInstance (errors [0 ][2 ][1 ], OSError )
218217
219- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON" )
220218 @os_helper .skip_unless_symlink
221219 def test_rmtree_fails_on_symlink_onexc (self ):
222220 tmp = self .mkdtemp ()
@@ -1087,7 +1085,6 @@ def test_copymode_follow_symlinks(self):
10871085 shutil .copymode (src_link , dst_link )
10881086 self .assertEqual (os .stat (src ).st_mode , os .stat (dst ).st_mode )
10891087
1090- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON" )
10911088 @unittest .skipUnless (hasattr (os , 'lchmod' ) or os .name == 'nt' , 'requires os.lchmod' )
10921089 @os_helper .skip_unless_symlink
10931090 def test_copymode_symlink_to_symlink (self ):
@@ -1317,7 +1314,6 @@ def test_copy(self):
13171314 self .assertTrue (os .path .exists (file2 ))
13181315 self .assertEqual (os .stat (file1 ).st_mode , os .stat (file2 ).st_mode )
13191316
1320- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON" )
13211317 @os_helper .skip_unless_symlink
13221318 def test_copy_symlinks (self ):
13231319 tmp_dir = self .mkdtemp ()
@@ -1360,7 +1356,6 @@ def test_copy2(self):
13601356 self .assertEqual (getattr (file1_stat , 'st_flags' ),
13611357 getattr (file2_stat , 'st_flags' ))
13621358
1363- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON" )
13641359 @os_helper .skip_unless_symlink
13651360 def test_copy2_symlinks (self ):
13661361 tmp_dir = self .mkdtemp ()
@@ -1445,7 +1440,6 @@ def _test_copy_dir(self, copy_func):
14451440
14461441 ### shutil.copyfile
14471442
1448- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON" )
14491443 @os_helper .skip_unless_symlink
14501444 def test_copyfile_symlinks (self ):
14511445 tmp_dir = self .mkdtemp ()
@@ -1483,6 +1477,7 @@ def test_dont_copy_file_onto_link_to_itself(self):
14831477 finally :
14841478 shutil .rmtree (TESTFN , ignore_errors = True )
14851479
1480+ @unittest .expectedFailureIfWindows ('TODO: RUSTPYTHON' )
14861481 @os_helper .skip_unless_symlink
14871482 def test_dont_copy_file_onto_symlink_to_itself (self ):
14881483 # bug 851123.
0 commit comments