Skip to content

Commit 389c6ea

Browse files
committed
Delete obsolete code that should have been removed.
1 parent 13c1afd commit 389c6ea

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ def expectedFailure_impl(func):
100100
def wrapper(*args, **kwargs):
101101
xfail_reason = expected_fn(*args, **kwargs)
102102
if xfail_reason is not None:
103-
if configuration.results_formatter_object is not None:
104-
# Mark this test as expected to fail.
105-
configuration.results_formatter_object.handle_event(
106-
EventBuilder.event_for_mark_test_expected_failure(self))
107103
xfail_func = unittest2.expectedFailure(func)
108104
xfail_func(*args, **kwargs)
109105
else:

0 commit comments

Comments
 (0)