Skip to content

Commit 4d5dd2d

Browse files
committed
Mark test as xfail
1 parent 1c1ff86 commit 4d5dd2d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

tests/distributions/test_simulator.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+
import sys
1415
import warnings
1516

1617
import cloudpickle
@@ -112,7 +113,18 @@ def test_custom_dist_sum_stat(self, seeded_test, floatX):
112113
warnings.filterwarnings("ignore", "More chains .* than draws .*", UserWarning)
113114
pm.sample_smc(draws=100)
114115

115-
@pytest.mark.parametrize("floatX", ["float32", "float64"])
116+
@pytest.mark.parametrize(
117+
"floatX",
118+
[
119+
pytest.param(
120+
"float32",
121+
marks=pytest.mark.xfail(
122+
condition=sys.version_info.minor == 14, reason="Needs investigation"
123+
),
124+
),
125+
"float64",
126+
],
127+
)
116128
def test_custom_dist_sum_stat_scalar(self, seeded_test, floatX):
117129
"""
118130
Test that automatically wrapped functions cope well with scalar inputs

0 commit comments

Comments
 (0)