Skip to content

Commit c1915d3

Browse files
committed
Only run bonsai tests on windows
1 parent 3326ca2 commit c1915d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_bonsai.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
import platform
23
import sys
34
import unittest
45
import warnings
@@ -19,6 +20,7 @@
1920
TModel = TypeVar("TModel", bound=Union[AindVrForagingRig, AindVrForagingTaskLogic, AindBehaviorSessionModel])
2021

2122

23+
@unittest.skipUnless(platform.system() == "Windows", "Bonsai tests only run on Windows")
2224
class BonsaiTests(unittest.TestCase):
2325
def test_deserialization(self):
2426
rig.main("./local/{schema}.json")

0 commit comments

Comments
 (0)