Skip to content

Commit

Permalink
fix: test on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
cako committed Nov 17, 2024
1 parent d5c772c commit 48477a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pytests/test_pytensoroperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
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
# if platform.system() == "Darwin":
# return

Dop = MatrixMult(np.random.normal(0.0, 1.0, (par["ny"], par["nx"])))
pytensor_op = PyTensorOperator(Dop)
Expand All @@ -40,8 +40,8 @@ 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
# if platform.system() == "Darwin":
# return

otherdims = rng.choice(range(1, 3), size=rng.choice(range(2, 8)))
Dop = MatrixMult(
Expand Down

0 comments on commit 48477a5

Please sign in to comment.