1313
1414pxp = pint_array .pint_namespace (xp )
1515
16+ < << << << HEAD
1617< << << << HEAD
1718< << << << HEAD
1819== == == =
@@ -27,6 +28,10 @@ class TestNumpyMethods:
2728== == == =
2829class TestNumPyMethods :
2930> >> >> >> 573558 d (fix xp - tests )
31+ == == == =
32+
33+ class TestNumPyMethods :
34+ > >> >> >> bda9eba697f92e4bfe41a3f3813e589da7048eba
3035 @classmethod
3136 def setup_class (cls ):
3237 from pint import _DEFAULT_REGISTRY
@@ -308,7 +313,11 @@ def test_max_with_axis_arg(self):
308313 helpers .assert_quantity_equal (pxp .max (self .q , axis = 1 ), [2 , 4 ] * self .ureg .m )
309314
310315 def test_argmax_numpy_func (self ):
316+ < << << << HEAD
311317 self .assertNDArrayEqual (pxp .argmax (self .q , axis = 0 ), xp .asarray ([1 , 1 ]))
318+ == == == =
319+ self .assertNDArrayEqual (pxp .argmax (self .q , axis = 0 ), pxp .asarray ([1 , 1 ]))
320+ >> >> >> > bda9eba697f92e4bfe41a3f3813e589da7048eba
312321
313322 def test_maximum (self ):
314323 helpers .assert_quantity_equal (
@@ -322,7 +331,11 @@ def test_min_with_axis_arg(self):
322331 helpers .assert_quantity_equal (pxp .min (self .q , axis = 1 ), [1 , 3 ] * self .ureg .m )
323332
324333 def test_argmin_numpy_func (self ):
334+ < << << << HEAD
325335 self .assertNDArrayEqual (pxp .argmin (self .q , axis = 0 ), xp .asarray ([0 , 0 ]))
336+ == == == =
337+ self .assertNDArrayEqual (pxp .argmin (self .q , axis = 0 ), pxp .asarray ([0 , 0 ]))
338+ >> >> >> > bda9eba697f92e4bfe41a3f3813e589da7048eba
326339
327340 def test_minimum (self ):
328341 helpers .assert_quantity_equal (
@@ -463,7 +476,14 @@ def test_comparisons(self):
463476 # pxp.asarray(self.q) > 2 * self.ureg.m, xp.asarray([[False, False], [True, True]])
464477 # )
465478 self .assertNDArrayEqual (
479+ << << << < HEAD
466480 pxp .asarray (self .q ) < 2 * self .ureg .m , xp .asarray ([[True , False ], [False , False ]])
481+ == == == =
482+ self .q > 2 * self .ureg .m , pxp .asarray ([[False , False ], [True , True ]])
483+ )
484+ self .assertNDArrayEqual (
485+ self .q < 2 * self .ureg .m , pxp .asarray ([[True , False ], [False , False ]])
486+ >> > >> >> bda9eba697f92e4bfe41a3f3813e589da7048eba
467487 )
468488
469489 def test_where (self ):
0 commit comments