File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -889,7 +889,6 @@ def callback(
889
889
# as xfail.
890
890
check_result ["status" ] = "xfail"
891
891
else :
892
- failed = True
893
892
check_result ["status" ] = "failed"
894
893
895
894
if on_fail == "warn" :
Original file line number Diff line number Diff line change @@ -1373,8 +1373,8 @@ def callback(
1373
1373
expected_failed_checks = _get_expected_failed_checks (est )
1374
1374
# This is to make sure we test a class that has some expected failures
1375
1375
assert len (expected_failed_checks ) > 0
1376
- with warnings .catch_warnings (record = True ) as records :
1377
- logs = check_estimator (
1376
+ with warnings .catch_warnings (record = True ):
1377
+ check_estimator (
1378
1378
est ,
1379
1379
expected_failed_checks = expected_failed_checks ,
1380
1380
on_fail = None ,
You can’t perform that action at this time.
0 commit comments