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