Skip to content

Commit 69a1aa7

Browse files
committed
Change test skip to test xfail
1 parent ab34695 commit 69a1aa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ignite/handlers/test_param_scheduler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,8 @@ def test_lr_scheduler_asserts():
667667
LRScheduler.simulate_values(1, None)
668668

669669

670-
@pytest.mark.order(1)
671670
@pytest.mark.xfail
671+
@pytest.mark.order(1)
672672
@pytest.mark.parametrize(
673673
"torch_lr_scheduler_cls, kwargs",
674674
[
@@ -682,7 +682,7 @@ def test_lr_scheduler(torch_lr_scheduler_cls, kwargs):
682682
return
683683

684684
if TORCH_GE28 and torch_lr_scheduler_cls in [ExponentialLR, MultiplicativeLR]:
685-
pytest.skip("lr scheduler issues with nightly torch builds")
685+
pytest.xfail("lr scheduler issues with nightly torch builds")
686686

687687
tensor = torch.zeros([1], requires_grad=True)
688688
optimizer1 = torch.optim.SGD([tensor], lr=0.01)

0 commit comments

Comments
 (0)