Skip to content

Commit d9e8c4b

Browse files
committed
Mark unsupported tests
1 parent b967068 commit d9e8c4b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Lib/test/test_baseexception.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ def verify_instance_interface(self, ins):
1818
"%s missing %s attribute" %
1919
(ins.__class__.__name__, attr))
2020

21+
# TODO: RUSTPYTHON
22+
@unittest.expectedFailure
2123
def test_inheritance(self):
2224
# Make sure the inheritance hierarchy matches the documentation
2325
exc_set = set()
@@ -86,6 +88,8 @@ def interface_test_driver(self, results):
8688
self.assertEqual(given, expected, "%s: %s != %s" % (test_name,
8789
given, expected))
8890

91+
# TODO: RUSTPYTHON
92+
@unittest.expectedFailure
8993
def test_interface_single_arg(self):
9094
# Make sure interface works properly when given a single argument
9195
arg = "spam"
@@ -162,6 +166,8 @@ def test_raise_string(self):
162166
# Raising a string raises TypeError.
163167
self.raise_fails("spam")
164168

169+
# TODO: RUSTPYTHON
170+
@unittest.expectedFailure
165171
def test_catch_non_BaseException(self):
166172
# Trying to catch an object that does not inherit from BaseException
167173
# is not allowed.

0 commit comments

Comments
 (0)