3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +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 10000000000
>>> v + 1 >>> v + 1
10000000000 + 1 10000000000 + 1
>>> v.numerator_as_long() + 1 >>> v.numerator_as_long() + 1 == 10000000001
10000000001 True
""" """
return self.numerator().as_long() return self.numerator().as_long()