Skip to content

Commit 6092b8f

Browse files
committed
deal with ironpython
1 parent a8b0c9a commit 6092b8f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/compas/scene/test_scene_serialisation.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import pytest # noqa: F401
2+
import compas
23

34
from compas.data import Data
45
from compas.scene import Scene
@@ -107,7 +108,11 @@ def assert_is_data_equal(obj1, obj2, path=""):
107108
return True
108109

109110

110-
def test_scene_serialisation(items):
111+
def test_scene_serialisation(items, mocker):
112+
113+
if compas.IPY:
114+
mocker.patch("compas.scene.context.compas.is_rhino", return_value=False)
115+
111116
scene1 = Scene()
112117
for item in items:
113118
scene1.add(item)

0 commit comments

Comments
 (0)