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

Merge branch 'fix-test' into 'master'

use almost equal to check fit results

See merge request kmap/xsocs!119
parents 8f56e4bd db77bdb3
Pipeline #12892 passed with stages
in 10 minutes and 13 seconds
......@@ -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