Skip to content

Commit e6c7388

Browse files
committed
Revert test skip
1 parent e315077 commit e6c7388

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎Lib/test/test_os.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4248,9 +4248,8 @@ def assert_stat_equal(self, stat1, stat2, skip_fields):
42484248
else:
42494249
self.assertEqual(stat1, stat2)
42504250

4251-
# TODO: RUSTPPYTHON (AssertionError: TypeError not raised by ScandirIter)
4252-
# TODO: See https://github.com/RustPython/RustPython/issues/5190 for skip rationale
4253-
@unittest.skip("TODO: RUSTPYTHON, avoid the unclosed scandir from squatting on file descriptors")
4251+
# TODO: RUSTPYTHON (AssertionError: TypeError not raised by ScandirIter)
4252+
@unittest.expectedFailure
42544253
def test_uninstantiable(self):
42554254
scandir_iter = os.scandir(self.path)
42564255
self.assertRaises(TypeError, type(scandir_iter))

0 commit comments

Comments
 (0)