diff --git a/src/ifcopenshell-python/test/test_create_shape.py b/src/ifcopenshell-python/test/test_create_shape.py index 639c3b3541..e3c571f05c 100644 --- a/src/ifcopenshell-python/test/test_create_shape.py +++ b/src/ifcopenshell-python/test/test_create_shape.py @@ -38,6 +38,8 @@ class TestGeomSettings: settings.get(settings.USE_PYTHON_OPENCASCADE) with pytest.raises(RuntimeError): settings.get("use-python-opencascade") + with pytest.raises(RuntimeError): + settings.set("use-python-opencascade", True) assert "USE_PYTHON_OPENCASCADE" not in repr(settings)