From 0bccfc44a754dfefce3e99602e767253b7f360f7 Mon Sep 17 00:00:00 2001 From: Andrey Paramonov Date: Wed, 12 Dec 2018 12:14:14 +0300 Subject: [PATCH] Fix flaky test --- testing/test_junitxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_junitxml.py b/testing/test_junitxml.py index 82ed7901c..ba7b43826 100644 --- a/testing/test_junitxml.py +++ b/testing/test_junitxml.py @@ -169,7 +169,7 @@ class TestPython(object): node = dom.find_first_by_tag("testsuite") tnode = node.find_first_by_tag("testcase") val = tnode["time"] - assert 0.01 <= round(float(val), 2) < 0.02 + assert 0.01 <= round(float(val), 3) < 0.02 def test_setup_error(self, testdir): testdir.makepyfile(