3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-29 12:49:02 +00:00

update python doc tests

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-09-14 10:56:26 -07:00
parent 0d0dd0315a
commit 928a2e7cf2

View file

@ -7263,7 +7263,7 @@ class Solver(Z3PPObject):
>>> s.reset()
>>> s.add(2**x == 4)
>>> s.check()
unknown
sat
"""
s = BoolSort(self.ctx)
assumptions = _get_args(assumptions)
@ -7507,9 +7507,9 @@ class Solver(Z3PPObject):
>>> x = Int('x')
>>> s = SimpleSolver()
>>> s.add(2**x == 4)
>>> s.add(x == 2**x)
>>> s.check()
unknown
sat
>>> s.reason_unknown()
'(incomplete (theory arithmetic))'
"""