Skip to content

Commit 4792bab

Browse files
committed
Enable OSError attributes test
1 parent ee4d72e commit 4792bab

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

Lib/test/test_exception_hierarchy.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ def test_windows_error(self):
127127
else:
128128
self.assertNotIn('winerror', dir(OSError))
129129

130-
# TODO: RUSTPYTHON
131-
@unittest.expectedFailure
132130
def test_posix_error(self):
133131
e = OSError(EEXIST, "File already exists", "foo.txt")
134132
self.assertEqual(e.errno, EEXIST)

Lib/test/test_fileio.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,6 @@ class PyAutoFileTests(AutoFileTests, unittest.TestCase):
390390
FileIO = _pyio.FileIO
391391
modulename = '_pyio'
392392

393-
# TODO: RUSTPYTHON
394-
@unittest.expectedFailure
395393
def testOpendir(self):
396394
super().testOpendir()
397395

Lib/test/test_subprocess.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,8 +1463,6 @@ def test_failed_child_execute_fd_leak(self):
14631463
fds_after_exception = os.listdir(fd_directory)
14641464
self.assertEqual(fds_before_popen, fds_after_exception)
14651465

1466-
# TODO: RUSTPYTHON
1467-
@unittest.expectedFailure
14681466
@unittest.skipIf(mswindows, "behavior currently not supported on Windows")
14691467
def test_file_not_found_includes_filename(self):
14701468
with self.assertRaises(FileNotFoundError) as c:

0 commit comments

Comments
 (0)