Mercurial > hg
comparison tests/test-debugcommands.t @ 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 | d71e0ba34d9b |
comparison
equal
deleted
inserted
replaced
39901:8a42aa04ef36 | 39902:8d6ab33a61b2 |
---|---|
191 $ hg debugdeltachain -m -Tjson | 191 $ hg debugdeltachain -m -Tjson |
192 [ | 192 [ |
193 { | 193 { |
194 "chainid": 1, | 194 "chainid": 1, |
195 "chainlen": 1, | 195 "chainlen": 1, |
196 "chainratio": 1.02325581395, | 196 "chainratio": 1.02325581395, (no-py3k !) |
197 "chainratio": 1.0232558139534884, (py3k !) | |
197 "chainsize": 44, | 198 "chainsize": 44, |
198 "compsize": 44, | 199 "compsize": 44, |
199 "deltatype": "base", | 200 "deltatype": "base", |
200 "extradist": 0, | 201 "extradist": 0, |
201 "extraratio": 0.0, | 202 "extraratio": 0.0, |
219 "uncompsize": 0 | 220 "uncompsize": 0 |
220 }, | 221 }, |
221 { | 222 { |
222 "chainid": 3, | 223 "chainid": 3, |
223 "chainlen": 1, | 224 "chainlen": 1, |
224 "chainratio": 1.02325581395, | 225 "chainratio": 1.02325581395, (no-py3k !) |
226 "chainratio": 1.0232558139534884, (py3k !) | |
225 "chainsize": 44, | 227 "chainsize": 44, |
226 "compsize": 44, | 228 "compsize": 44, |
227 "deltatype": "base", | 229 "deltatype": "base", |
228 "extradist": 0, | 230 "extradist": 0, |
229 "extraratio": 0.0, | 231 "extraratio": 0.0, |
254 $ hg debugdeltachain -m -Tjson | 256 $ hg debugdeltachain -m -Tjson |
255 [ | 257 [ |
256 { | 258 { |
257 "chainid": 1, | 259 "chainid": 1, |
258 "chainlen": 1, | 260 "chainlen": 1, |
259 "chainratio": 1.02325581395, | 261 "chainratio": 1.02325581395, (no-py3k !) |
262 "chainratio": 1.0232558139534884, (py3k !) | |
260 "chainsize": 44, | 263 "chainsize": 44, |
261 "compsize": 44, | 264 "compsize": 44, |
262 "deltatype": "base", | 265 "deltatype": "base", |
263 "extradist": 0, | 266 "extradist": 0, |
264 "extraratio": 0.0, | 267 "extraratio": 0.0, |
290 "uncompsize": 0 | 293 "uncompsize": 0 |
291 }, | 294 }, |
292 { | 295 { |
293 "chainid": 3, | 296 "chainid": 3, |
294 "chainlen": 1, | 297 "chainlen": 1, |
295 "chainratio": 1.02325581395, | 298 "chainratio": 1.02325581395, (no-py3k !) |
299 "chainratio": 1.0232558139534884, (py3k !) | |
296 "chainsize": 44, | 300 "chainsize": 44, |
297 "compsize": 44, | 301 "compsize": 44, |
298 "deltatype": "base", | 302 "deltatype": "base", |
299 "extradist": 0, | 303 "extradist": 0, |
300 "extraratio": 0.0, | 304 "extraratio": 0.0, |