Commit db77bdb3 authored by Thomas Vincent's avatar Thomas Vincent
Browse files

use almost equal to check fit results

parent fa5d3baf
......@@ -72,10 +72,7 @@ class TestPeakFitter(ParametricTestCase):
:param FitResult ref:
:param FitResult result:
"""
if sys.platform == 'win32':
self.assertTrue(ref.almost_equal(result))
else:
self.assertEqual(ref, result)
self.assertTrue(ref.almost_equal(result))
def test_gaussian(self):
"""Test gaussian fit"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment