Skip to content

Commit faff9fd

Browse files
authored
xfail for test_G_star_Row_Standardized (#336)
1 parent 8a99e1d commit faff9fd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

esda/tests/test_getisord.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,16 @@ def test_G_star_Local_Binary(self, w):
6969
np.testing.assert_allclose(lg.p_sim[0], 0.102, rtol=RTOL, atol=ATOL)
7070

7171
@parametrize_w
72-
def test_G_star_Row_Standardized(self, w):
72+
@pytest.mark.xfail(
73+
reason="Intermittently does not warn for W param; reason unknown; see gh#331"
74+
)
75+
def test_G_star_Row_Standardized_warning(self, w):
7376
with pytest.warns(UserWarning, match="Gi\\* requested, but"):
7477
lg = getisord.G_Local(self.y, w, transform="R", star=True, seed=10)
78+
79+
@parametrize_w
80+
def test_G_star_Row_Standardized_values(self, w):
81+
lg = getisord.G_Local(self.y, w, transform="R", star=True, seed=10)
7582
np.testing.assert_allclose(lg.Zs[0], -0.62488094, rtol=RTOL, atol=ATOL)
7683
np.testing.assert_allclose(lg.p_sim[0], 0.102, rtol=RTOL, atol=ATOL)
7784

0 commit comments

Comments
 (0)