Skip to content

Commit adb79be

Browse files
committed
Mark test as xfail
1 parent 02f71a9 commit adb79be

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
@@ -89,7 +90,18 @@ def test_one_gaussian(self, seeded_test):
8990
assert abs(self.data.mean() - po_p["s"].mean()) < 0.10
9091
assert abs(self.data.std() - po_p["s"].std()) < 0.10
9192

92-
@pytest.mark.parametrize("floatX", ["float32", "float64"])
93+
@pytest.mark.parametrize(
94+
"floatX",
95+
[
96+
pytest.param(
97+
"float32",
98+
marks=pytest.mark.xfail(
99+
condition=sys.version_info.minor == 14, reason="Needs investigation"
100+
),
101+
),
102+
"float64",
103+
],
104+
)
93105
def test_custom_dist_sum_stat(self, seeded_test, floatX):
94106
with pytensor.config.change_flags(floatX=floatX):
95107
with pm.Model() as m:

0 commit comments

Comments
 (0)