Skip to content

Commit fe80b32

Browse files
committed
fix test_uninstantiable
1 parent e426042 commit fe80b32

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/test/test_os.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4922,7 +4922,6 @@ def setUp(self):
49224922
self.addCleanup(os_helper.rmtree, self.path)
49234923
os.mkdir(self.path)
49244924

4925-
@unittest.expectedFailure # TODO: RUSTPYTHON; (AssertionError: TypeError not raised by DirEntry)
49264925
def test_uninstantiable(self):
49274926
self.assertRaises(TypeError, os.DirEntry)
49284927

@@ -4971,7 +4970,6 @@ def assert_stat_equal(self, stat1, stat2, skip_fields):
49714970
else:
49724971
self.assertEqual(stat1, stat2)
49734972

4974-
@unittest.expectedFailure # TODO: RUSTPYTHON; (AssertionError: TypeError not raised by ScandirIter)
49754973
def test_uninstantiable(self):
49764974
scandir_iter = os.scandir(self.path)
49774975
self.assertRaises(TypeError, type(scandir_iter))

0 commit comments

Comments
 (0)