Skip to content

Commit

Permalink
Merge pull request numpy#3403 from juliantaylor/test-multi-dec
Browse files Browse the repository at this point in the history
TST: fix some function name conflicts
  • Loading branch information
rgommers committed Jun 5, 2013
2 parents 41f6a89 + 37723a5 commit b5fd429
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion numpy/core/tests/test_multiarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ def test_assign_mask(self):
x[m] = 5
assert_array_equal(x, array([1,5,3,4]))

def test_assign_mask(self):
def test_assign_mask2(self):
xorig = array([[1,2,3,4],[5,6,7,8]])
m = array([0,1],bool)
m2 = array([[0,1],[1,0]],bool)
Expand Down
2 changes: 1 addition & 1 deletion numpy/core/tests/test_umath.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def test_nan_outputs(self):
assert_hypot_isnan(np.nan, np.nan)
assert_hypot_isnan(np.nan, 1)

def test_nan_outputs(self):
def test_nan_outputs2(self):
assert_hypot_isinf(np.nan, np.inf)
assert_hypot_isinf(np.inf, np.nan)
assert_hypot_isinf(np.inf, 0)
Expand Down
2 changes: 1 addition & 1 deletion numpy/ma/tests/test_old_ma.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def test_testOddFeatures(self):
z = where(c, 1, masked)
assert_(eq(z, [99, 1, 1, 99, 99, 99]))

def test_testMinMax(self):
def test_testMinMax2(self):
"Test of minumum, maximum."
assert_(eq(minimum([1, 2, 3], [4, 0, 9]), [1, 0, 3]))
assert_(eq(maximum([1, 2, 3], [4, 0, 9]), [4, 2, 9]))
Expand Down
2 changes: 1 addition & 1 deletion numpy/ma/tests/test_subclassing.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_masked_binary_operations(self):
self.assertTrue(isinstance(hypot(mx,mx), mmatrix))
self.assertTrue(isinstance(hypot(mx,x), mmatrix))

def test_masked_binary_operations(self):
def test_masked_binary_operations2(self):
"Tests domained_masked_binary_operation"
(x, mx) = self.data
xmx = masked_array(mx.data.__array__(), mask=mx.mask)
Expand Down

0 comments on commit b5fd429

Please sign in to comment.