Mark unsupported tests

This commit is contained in:
Aviv Palivoda committed 2020-02-22 14:11:50 +02:00
1 parent 0e2ccf36fc
commit 5275ef6e3a
1 file changed
+4
+4
View File
@@ -109,6 +109,7 @@ class FailureTestCase(unittest.TestCase):
with foo: pass
self.assertRaises(NameError, fooNotDeclared)
@unittest.skip("TODO: RUSTPYTHON")
def testEnterAttributeError1(self):
class LacksEnter(object):
def __exit__(self, type, value, traceback):
@@ -119,6 +120,8 @@ class FailureTestCase(unittest.TestCase):
with foo: pass
self.assertRaisesRegex(AttributeError, '__enter__', fooLacksEnter)
# TODO: RUSTPYTHON
@unittest.expectedFailure
def testEnterAttributeError2(self):
class LacksEnterAndExit(object):
pass
@@ -726,6 +729,7 @@ class NestedWith(unittest.TestCase):
self.assertTrue(a.enter_called)
self.assertTrue(a.exit_called)
@unittest.skip("TODO: RUSTPYTHON")
def testExceptionInExit(self):
body_executed = False
with self.Dummy(gobble=True) as a, self.ExitRaises():