Skip to content

Commit

Permalink
fix: passing on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
cako committed Nov 17, 2024
1 parent 85e8253 commit 23fea35
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pytests/test_pytensoroperator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import platform

import numpy as np
import pytensor
import pytest
Expand All @@ -17,10 +15,6 @@
@pytest.mark.parametrize("par", [(par1)])
def test_PyTensorOperator(par):
"""Verify output and gradient of PyTensor function obtained from a LinearOperator."""
# See: https://discourse.pymc.io/t/installation-issues-v5-9-macos/13094
# if platform.system() == "Darwin":
# return

Dop = MatrixMult(np.random.normal(0.0, 1.0, (par["ny"], par["nx"])))
pytensor_op = PyTensorOperator(Dop)

Expand All @@ -39,10 +33,6 @@ def test_PyTensorOperator(par):
def test_PyTensorOperator_nd(par):
"""Verify output and gradient of PyTensor function obtained from a LinearOperator
using an ND-array."""
# See: https://discourse.pymc.io/t/installation-issues-v5-9-macos/13094
# if platform.system() == "Darwin":
# return

otherdims = rng.choice(range(1, 3), size=rng.choice(range(2, 8)))
Dop = MatrixMult(
np.random.normal(0.0, 1.0, (par["ny"], par["nx"])), otherdims=otherdims
Expand Down

0 comments on commit 23fea35

Please sign in to comment.