mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Mark unsupported tests
This commit is contained in:
1 parent
0e2ccf36fc
commit
5275ef6e3a
1 file changed
+4
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user