Fix flaky test

This commit is contained in:
Andrey Paramonov 2018-12-12 12:14:14 +03:00
parent a44776ed48
commit 0bccfc44a7
1 changed files with 1 additions and 1 deletions

View File

@ -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(