From 96a914119970266135b7586ed4d6ac535b162894 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 31 Oct 2019 16:51:13 +0100 Subject: [PATCH] [testing] Increase tolerance for angles --- tests/pytest/test_tutorials.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pytest/test_tutorials.py b/tests/pytest/test_tutorials.py index 6f7ae822..90bccc3f 100644 --- a/tests/pytest/test_tutorials.py +++ b/tests/pytest/test_tutorials.py @@ -41,8 +41,8 @@ def checkData(mesh, mp, ref): assert ref['ne3d'] == data['ne3d'] assert json.loads(ref['quality_histogram']) == pytest.approx(json.loads(data['quality_histogram']), abs=1, rel=0.4) assert ref['total_badness'] == pytest.approx(data['total_badness'], rel=1e-5) - assert ref['angles_trig'] == pytest.approx(data['angles_trig'], rel=1e-5) - assert ref['angles_tet'] == pytest.approx(data['angles_tet'], rel=1e-5) + assert ref['angles_trig'] == pytest.approx(data['angles_trig'], rel=1e-4) + assert ref['angles_tet'] == pytest.approx(data['angles_tet'], rel=1e-4) # get tutorials def getFiles(fileEnding):