Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 000030d

Browse files
committed
Tag known failure on win32.
1 parent 707639f commit 000030d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

numpy/lib/tests/test_io.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def test_1D(self):
7676
a = np.array([1, 2, 3, 4], int)
7777
self.roundtrip(a)
7878

79+
@np.testing.dec.knownfailureif(sys.platform=='win32', "Fail on Win32")
7980
def test_mmap(self):
8081
a = np.array([[1, 2.5], [4, 7.3]])
8182
self.roundtrip(a, file_on_disk=True, load_kwds={'mmap_mode': 'r'})
@@ -112,6 +113,7 @@ def test_named_arrays(self):
112113

113114

114115
class TestSaveTxt(TestCase):
116+
@np.testing.dec.knownfailureif(sys.platform=='win32', "Fail on Win32")
115117
def test_array(self):
116118
a =np.array([[1, 2], [3, 4]], float)
117119
c = StringIO.StringIO()

numpy/lib/tests/test_recfunctions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12

23
import numpy as np
34
import numpy.ma as ma
@@ -137,6 +138,7 @@ def test_get_fieldstructure(self):
137138
assert_equal(test, control)
138139

139140

141+
@np.testing.dec.knownfailureif(sys.platform=='win32', "Fail on Win32")
140142
def test_find_duplicates(self):
141143
"Test find_duplicates"
142144
a = ma.array([(2, (2., 'B')), (1, (2., 'B')), (2, (2., 'B')),
@@ -171,6 +173,7 @@ def test_find_duplicates(self):
171173
assert_equal(test[0], a[control])
172174

173175

176+
@np.testing.dec.knownfailureif(sys.platform=='win32', "Fail on Win32")
174177
def test_find_duplicates_ignoremask(self):
175178
"Test the ignoremask option of find_duplicates"
176179
ndtype = [('a', int)]

0 commit comments

Comments
 (0)