Skip to content

Commit

Permalink
TST: Fix memoryview 2.6/2.7 compatibiliy in maskna pep3118 test
Browse files Browse the repository at this point in the history
  • Loading branch information
mwiebe committed May 18, 2012
1 parent a169c98 commit 6c88395
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numpy/core/tests/test_maskna.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def test_array_maskna_construction():
assert_equal(np.isna(a), True)

@dec.skipif(sys.version_info < (2, 6))
def test_array_maskna_pep3188():
def test_array_maskna_pep3118():
global memoryview
if sys.version_info[:2] == (2, 6):
from numpy.core.multiarray import memorysimpleview as memoryview

Expand Down

0 comments on commit 6c88395

Please sign in to comment.