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:
parent
a0a505e1b8
commit
3cc9d57438
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue