提交 40f47bae authored 作者: Frederic's avatar Frederic

Fix test on python 3.

上级 def70fb8
...@@ -94,7 +94,7 @@ def test_gc_never_pickles_temporaries(): ...@@ -94,7 +94,7 @@ def test_gc_never_pickles_temporaries():
# that weren't collected shouldn't be pickled anyway # that weren't collected shouldn't be pickled anyway
# Allow for a couple of bytes of difference, since timing info, # Allow for a couple of bytes of difference, since timing info,
# for instance, can be represented as text of varying size. # for instance, can be represented as text of varying size.
assert abs(len_post_f - len_post_g) < 4, ( assert abs(len_post_f - len_post_g) < 16, (
f_linker, len_post_f, len_post_g) f_linker, len_post_f, len_post_g)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论