Commit 909fb4ed authored by Stefan Behnel's avatar Stefan Behnel

fix test in Py2.6

parent fd627764
......@@ -175,8 +175,8 @@ def mod_obj_m2(int2):
def mod_obj_m2f(obj2):
"""
>>> 0 % -2.0
-0.0
>>> 0 % -2.0 == 0.0 # -0.0 in Py2.7+
True
>>> mod_obj_m2f(0)
-0.0
>>> 1 % -2.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment