mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Update test_exception_hierarchy from v3.14.2
This commit is contained in:
1 parent
7cd55802f6
commit
cb138c8f37
1 file changed
+2
-4
Vendored
+2
-4
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user