sot / chandra_time

Convert between various time formats relevant to Chandra.
https://sot.github.io/Chandra.Time
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

fix one test so this passes on linux 32 #29

Open jeanconn opened 5 years ago

jeanconn commented 5 years ago
___________________________________________ TestConvert.test_secs ___________________________________________

self = <Chandra.Time.tests.test_Time.TestConvert testMethod=test_secs>

    def test_secs(self):
        self.assertEqual('%.3f' % DateTime(20483020.).secs, '20483020.000')
        self.assertEqual(DateTime(20483020.).date, '1998:238:01:42:36.816')
>       self.assertEqual(DateTime('2012:001:00:00:00.000').secs, 441763266.18399996)
E       AssertionError: 441763266.184 != 441763266.18399996