Beispiel #1
0
 def test_copy_numpy_func(self):
     q_copy = np.copy(self.q)
     self.assertQuantityEqual(self.q, q_copy)
     self.assertIsNot(self.q, q_copy)
Beispiel #2
0
 def test_copy_numpy_func(self):
     q_copy = np.copy(self.q)
     helpers.assert_quantity_equal(self.q, q_copy)
     assert self.q is not q_copy