Update test_exception_hierarchy from v3.14.2

This commit is contained in:
CPython Developers authored and Jeong, YunWon committed 2026-01-31 05:49:16 +09:00
1 parent 7cd55802f6
commit cb138c8f37
1 file changed
+2 -4
+2 -4
View File
@@ -146,8 +146,7 @@ class AttributesTest(unittest.TestCase):
self.assertEqual(e.strerror, "File already exists")
self.assertEqual(e.filename, "foo.txt")
# TODO: RUSTPYTHON
@unittest.expectedFailure
@unittest.expectedFailure # TODO: RUSTPYTHON
def test_blockingioerror(self):
args = ("a", "b", "c", "d", "e")
for n in range(6):
@@ -182,8 +181,7 @@ class ExplicitSubclassingTest(unittest.TestCase):
self.assertEqual(e.bar, "baz")
self.assertEqual(e.args, ("some message",))
# TODO: RUSTPYTHON
@unittest.expectedFailure
@unittest.expectedFailure # TODO: RUSTPYTHON
def test_new_overridden(self):
e = SubOSErrorWithNew("some message", "baz")
self.assertEqual(e.baz, "baz")