Skip to content

Commit

Permalink
Mark test as xfail
Browse files Browse the repository at this point in the history
and turn xpass into failure.
  • Loading branch information
pllim committed Feb 26, 2024
1 parent 3d5e6b1 commit 59286c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jdaviz/configs/imviz/tests/test_delete_data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import numpy as np
import pytest
from astropy.coordinates import Angle
from astropy.nddata import NDData
from astropy.tests.helper import assert_quantity_allclose
Expand Down Expand Up @@ -75,6 +76,7 @@ def test_delete_with_subset_wcs(self):
assert_allclose(subset2.subset_state.roi.ymax, 2)


@pytest.mark.xfail(reason="FIXME: JDAT-3958")
class TestDeleteWCSLayerWithSubset(BaseImviz_WCS_GWCS):
"""Regression test for https://jira.stsci.edu/browse/JDAT-3958"""
def test_delete_wcs_layer_with_subset(self):
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ astropy_header = true
doctest_plus = "enabled"
text_file_format = "rst"
addopts = "--doctest-rst --import-mode=append"
xfail_strict = true
filterwarnings = [
"error",
"ignore:numpy\\.ufunc size changed:RuntimeWarning",
Expand Down

0 comments on commit 59286c0

Please sign in to comment.