We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58d5504 commit c0cc31bCopy full SHA for c0cc31b
1 file changed
tests/test_diptest.py
@@ -107,7 +107,7 @@ def test_dipstat_full_output():
107
"""Test diptest.dipstat with full output."""
108
sample = _generator(100)
109
dip, res = dt.dipstat(sample, full_output=True)
110
- exp_keys = {"lo", "hi", "xl", "xu", "gcm", "lcm"}
+ exp_keys = {"lo", "hi", "xl", "xu", "gcm", "lcm", "dipidx"}
111
obs_keys = set(res.keys())
112
assert len(obs_keys - exp_keys) == 0
113
assert len(exp_keys - obs_keys) == 0
@@ -215,7 +215,6 @@ def test_diptest_full_output():
215
dip, pval, res = dt.diptest(_TEST_SAMPLE, full_output=True)
216
assert np.isclose(dip, _TEST_SAMPLE_DIP)
217
assert np.isclose(pval, _TEST_SAMPLE_TABLE_PVAL)
218
219
220
221
- assert len(exp_keys - obs_keys) == 0
0 commit comments