Skip to content

Commit

Permalink
Update test_taichi_based.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Routhleck committed Jun 18, 2024
1 parent 7d22929 commit 1b66a92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions brainpy/_src/math/op_register/tests/test_taichi_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
import brainpy.math as bm
from brainpy._src.dependency_check import import_taichi

import platform
force_test = False # turn on to force test on windows locally
if platform.system() == 'Windows' and not force_test:
pytest.skip('skip windows', allow_module_level=True)

ti = import_taichi(error_if_not_found=False)
if ti is None:
pytest.skip('no taichi', allow_module_level=True)
Expand Down

0 comments on commit 1b66a92

Please sign in to comment.