3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

Fix pytest, it should work with Python 2.7.x and 3.x

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-12-21 16:58:10 -08:00
parent a0a505e1b8
commit 3cc9d57438

View file

@ -2486,8 +2486,8 @@ class RatNumRef(ArithRef):
10000000000
>>> v + 1
10000000000 + 1
>>> v.numerator_as_long() + 1
10000000001
>>> v.numerator_as_long() + 1 == 10000000001
True
"""
return self.numerator().as_long()