def test_nanmedian_numpy_func(self): self.assertEqual(np.nanmedian(self.q_nan), 2 * self.ureg.m)
def test_nanmedian_numpy_func(self): assert np.nanmedian(self.q_nan) == 2 * self.ureg.m