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

Method test_model_not_supported

tests/test_z3_ported.py:908–912  ·  view source on GitHub ↗

model() raises since Lean is not an SMT solver.

(self, kernel)

Source from the content-addressed store, hash-verified

906 assert len(s.assertions()) == 1
907
908 def test_model_not_supported(self, kernel):
909 """model() raises since Lean is not an SMT solver."""
910 s = Solver()
911 with pytest.raises(NotImplementedError):
912 s.model()
913
914
915# ===================================================================

Callers

nothing calls this directly

Calls 2

modelMethod · 0.95
SolverClass · 0.90

Tested by

no test coverage detected