Skip to content

Commit ca32f6a

Browse files
committed
Remove one more xfail reason usage
1 parent 5354a57 commit ca32f6a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lldb/packages/Python/lldbsuite/test/lldbtest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,9 +1696,7 @@ def test_method(self, attrvalue=attrvalue):
16961696

16971697
xfail_reason = xfail_for_debug_info_cat_fn(cat)
16981698
if xfail_reason:
1699-
test_method = unittest.expectedFailure(xfail_reason)(
1700-
test_method
1701-
)
1699+
test_method = unittest.expectedFailure(test_method)
17021700

17031701
skip_reason = skip_for_debug_info_cat_fn(cat)
17041702
if skip_reason:

0 commit comments

Comments
 (0)