Mercurial > hg
changeset 39902:8d6ab33a61b2
py3: conditionalize json float precision difference in test-debugcommands.t
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 28 Sep 2018 23:17:06 -0400 |
parents | 8a42aa04ef36 |
children | 803b7569c9ea |
files | tests/test-debugcommands.t |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-debugcommands.t Fri Sep 28 22:39:18 2018 -0400 +++ b/tests/test-debugcommands.t Fri Sep 28 23:17:06 2018 -0400 @@ -193,7 +193,8 @@ { "chainid": 1, "chainlen": 1, - "chainratio": 1.02325581395, + "chainratio": 1.02325581395, (no-py3k !) + "chainratio": 1.0232558139534884, (py3k !) "chainsize": 44, "compsize": 44, "deltatype": "base", @@ -221,7 +222,8 @@ { "chainid": 3, "chainlen": 1, - "chainratio": 1.02325581395, + "chainratio": 1.02325581395, (no-py3k !) + "chainratio": 1.0232558139534884, (py3k !) "chainsize": 44, "compsize": 44, "deltatype": "base", @@ -256,7 +258,8 @@ { "chainid": 1, "chainlen": 1, - "chainratio": 1.02325581395, + "chainratio": 1.02325581395, (no-py3k !) + "chainratio": 1.0232558139534884, (py3k !) "chainsize": 44, "compsize": 44, "deltatype": "base", @@ -292,7 +295,8 @@ { "chainid": 3, "chainlen": 1, - "chainratio": 1.02325581395, + "chainratio": 1.02325581395, (no-py3k !) + "chainratio": 1.0232558139534884, (py3k !) "chainsize": 44, "compsize": 44, "deltatype": "base",