aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backends/smt2/smtio.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/smt2/smtio.py b/backends/smt2/smtio.py
index f61f3e77e..fed4524ce 100644
--- a/backends/smt2/smtio.py
+++ b/backends/smt2/smtio.py
@@ -646,6 +646,8 @@ class SmtIo:
sys.stderr.flush()
result = self.read()
+ assert result in ["sat", "unsat"]
+
if self.debug_file:
print("(set-info :status %s)" % result, file=self.debug_file)
print("(check-sat)", file=self.debug_file)