Tests on master failing due to new solar mass in LAL
___________________ TestBasicGWTransient.test_log_likelihood ___________________
self = <test.gw_likelihood_test.TestBasicGWTransient testMethod=test_log_likelihood>
def test_log_likelihood(self):
"""Test log likelihood matches precomputed value"""
self.likelihood.log_likelihood()
self.assertAlmostEqual(self.likelihood.log_likelihood(),
> -4055.25243177871, 3)
E AssertionError: -4055.295268674687 != -4055.25243177871 within 3 places (0.04283689597696139 difference)
test/gw_likelihood_test.py:48: AssertionError
_____________________ TestGWTransient.test_log_likelihood ______________________
self = <test.gw_likelihood_test.TestGWTransient testMethod=test_log_likelihood>
def test_log_likelihood(self):
"""Test log likelihood matches precomputed value"""
self.likelihood.log_likelihood()
self.assertAlmostEqual(self.likelihood.log_likelihood(),
> -4055.25243177871, 3)
E AssertionError: -4055.295268674687 != -4055.25243177871 within 3 places (0.04283689597696139 difference)
test/gw_likelihood_test.py:117: AssertionError
----------------------------- Captured stderr call -----------------------------
06:19 bilby INFO : No prior given, using default BBH priors in /builds/lscsoft/bilby/bilby/gw/prior_files/binary_black_holes.prior.
________________________ TestConstants.test_solar_mass _________________________
self = <test.utils_test.TestConstants testMethod=test_solar_mass>
def test_solar_mass(self):
> self.assertEqual(utils.solar_mass, lal.MSUN_SI)
E AssertionError: 1.9885469549614615e+30 != 1.9884099021470415e+30
This appears to have changed recently