From dd06b1a6c4ee03ff2c3ce1d9bc9165d5b95199c2 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 27 Jun 2024 14:06:56 +0500 Subject: [PATCH] small addition to 14dbe121f --- src/ifcopenshell-python/test/test_create_shape.py | 2 ++ 1 file changed, 2 insertions(+) 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)