44
55import json
66import platform
7+ import sys
78from pathlib import Path
89
910import pytest
@@ -489,6 +490,7 @@ def test_geometry_from_dxf():
489490 assert sp_geom .Geometry .from_dxf (section_holes_dxf ).geom .wkt == poly
490491
491492
493+ @pytest .mark .skipif (sys .version_info >= (3 , 14 ), reason = "Rhino not support for 3.14" )
492494def test_geometry_from_3dm_file_simple ():
493495 """Tests loading geometry from a simple .3dm file."""
494496 section = Path (__file__ ).parent .absolute () / "3in x 2in.3dm"
@@ -497,6 +499,7 @@ def test_geometry_from_3dm_file_simple():
497499 assert (test .geom - exp ).is_empty
498500
499501
502+ @pytest .mark .skipif (sys .version_info >= (3 , 14 ), reason = "Rhino not support for 3.14" )
500503def test_geometry_from_3dm_file_complex ():
501504 """Tests loading geometry from a complex .3dm file."""
502505 section_3dm = Path (__file__ ).parent .absolute () / "complex_shape.3dm"
@@ -508,6 +511,7 @@ def test_geometry_from_3dm_file_complex():
508511 assert (test .geom - exp ).is_empty
509512
510513
514+ @pytest .mark .skipif (sys .version_info >= (3 , 14 ), reason = "Rhino not support for 3.14" )
511515def test_geometry_from_3dm_file_compound ():
512516 """Tests loading compound geometry from a .3dm file."""
513517 section_3dm = Path (__file__ ).parent .absolute () / "compound_shape.3dm"
@@ -519,6 +523,7 @@ def test_geometry_from_3dm_file_compound():
519523 assert (MultiPolygon ([ii .geom for ii in test .geoms ]) - MultiPolygon (exp )).is_empty
520524
521525
526+ @pytest .mark .skipif (sys .version_info >= (3 , 14 ), reason = "Rhino not support for 3.14" )
522527def test_geometry_from_3dm_encode ():
523528 """Tests loading compound geometry from a .json file."""
524529 section_3dm = Path (__file__ ).parent .absolute () / "rhino_data.json"
0 commit comments