def test_unix_time_fidelity(self):
        ts = time.time()
        it1 = IonTime(ts)

        ts_2 = it1.to_unix()
        self.assertTrue(np.abs(ts - ts_2) <= 1e-3)
dataset/ETHPy150Open ooici/pyon/pyon/util/test/test_ion_time.py/IonTimeUnitTest.test_unix_time_fidelity/original