Skip to content

Commit f907419

Browse files
committed
unskip test_raise.py
1 parent 5cedef3 commit f907419

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Lib/test/test_raise.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ def reraise():
5656
raise
5757
self.assertRaises(TypeError, reraise)
5858

59-
@unittest.skip("TODO: RUSTPYTHON")
59+
# TODO: RUSTPYTHON
60+
@unittest.expectedFailure
6061
def test_finally_reraise(self):
6162
def reraise():
6263
try:
@@ -214,7 +215,6 @@ def __init__(self):
214215

215216
class TestTraceback(unittest.TestCase):
216217

217-
@unittest.skip("TODO: RUSTPYTHON")
218218
def test_sets_traceback(self):
219219
try:
220220
raise IndexError()
@@ -239,7 +239,8 @@ class TestTracebackType(unittest.TestCase):
239239
def raiser(self):
240240
raise ValueError
241241

242-
@unittest.skip("TODO: RUSTPYTHON")
242+
# TODO: RUSTPYTHON
243+
@unittest.expectedFailure
243244
def test_attrs(self):
244245
try:
245246
self.raiser()
@@ -275,7 +276,8 @@ def test_attrs(self):
275276
tb.tb_next = new_tb
276277
self.assertIs(tb.tb_next, new_tb)
277278

278-
@unittest.skip("TODO: RUSTPYTHON")
279+
# TODO: RUSTPYTHON
280+
@unittest.expectedFailure
279281
def test_constructor(self):
280282
other_tb = get_tb()
281283
frame = sys._getframe()

0 commit comments

Comments
 (0)