diff --git a/openquake/calculators/tests/gmf_ebrisk_test.py b/openquake/calculators/tests/gmf_ebrisk_test.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/tests/gmf_ebrisk_test.py
+++ b/openquake/calculators/tests/gmf_ebrisk_test.py
@@ -127,6 +127,6 @@ class GmfEbRiskTestCase(CalculatorTestCase):
         # compare the event loss table generated by an event_based_risk
         # case_master calculation with an equivalent gmf_ebrisk calculation
         f0 = writetmp(view('elt', calc0))
-        self.assertEqualFiles('expected/elt.txt', f0)
+        self.assertEqualFiles('expected/elt.txt', f0, delta=1E-5)
         f2 = writetmp(view('elt', calc2))
-        self.assertEqualFiles('expected/elt.txt', f2)
+        self.assertEqualFiles('expected/elt.txt', f2, delta=1E-5)
Added tolerance [skip hazardlib]