MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / test_model_raises

Method test_model_raises

tests/test_z3_compat.py:1290–1293  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1288 """Tests for ModelRef stub (gap #2)."""
1289
1290 def test_model_raises(self):
1291 s = Solver()
1292 with pytest.raises(NotImplementedError, match="not supported"):
1293 s.model()
1294
1295 def test_model_ref_getitem_raises(self):
1296 m = ModelRef()

Callers

nothing calls this directly

Calls 2

modelMethod · 0.95
SolverClass · 0.90

Tested by

no test coverage detected