Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python2.7 /
site-packages /
numpy /
ma /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
test_core.py
130.17
KB
-rw-r--r--
2013-04-07 01:04
test_core.pyc
134.95
KB
-rw-r--r--
2018-04-10 19:40
test_core.pyo
134.95
KB
-rw-r--r--
2018-04-10 19:40
test_extras.py
33
KB
-rw-r--r--
2013-04-07 01:04
test_extras.pyc
37.31
KB
-rw-r--r--
2018-04-10 19:40
test_extras.pyo
37.31
KB
-rw-r--r--
2018-04-10 19:40
test_mrecords.py
20.01
KB
-rw-r--r--
2013-04-07 01:04
test_mrecords.pyc
21.21
KB
-rw-r--r--
2018-04-10 19:40
test_mrecords.pyo
21.21
KB
-rw-r--r--
2018-04-10 19:40
test_old_ma.py
33.69
KB
-rw-r--r--
2013-04-07 01:04
test_old_ma.pyc
35.15
KB
-rw-r--r--
2018-04-10 19:40
test_old_ma.pyo
35.15
KB
-rw-r--r--
2018-04-10 19:40
test_regression.py
1.33
KB
-rw-r--r--
2013-04-07 01:04
test_regression.pyc
3
KB
-rw-r--r--
2018-04-10 19:40
test_regression.pyo
3
KB
-rw-r--r--
2018-04-10 19:40
test_subclassing.py
6.19
KB
-rw-r--r--
2013-04-07 01:04
test_subclassing.pyc
8.42
KB
-rw-r--r--
2018-04-10 19:40
test_subclassing.pyo
8.42
KB
-rw-r--r--
2018-04-10 19:40
Save
Rename
from numpy.testing import * import numpy as np rlevel = 1 class TestRegression(TestCase): def test_masked_array_create(self,level=rlevel): """Ticket #17""" x = np.ma.masked_array([0,1,2,3,0,4,5,6],mask=[0,0,0,1,1,1,0,0]) assert_array_equal(np.ma.nonzero(x),[[1,2,6,7]]) def test_masked_array(self,level=rlevel): """Ticket #61""" x = np.ma.array(1,mask=[1]) def test_mem_masked_where(self,level=rlevel): """Ticket #62""" from numpy.ma import masked_where, MaskType a = np.zeros((1,1)) b = np.zeros(a.shape, MaskType) c = masked_where(b,a) a-c def test_masked_array_multiply(self,level=rlevel): """Ticket #254""" a = np.ma.zeros((4,1)) a[2,0] = np.ma.masked b = np.zeros((4,2)) a*b b*a def test_masked_array_repeat(self, level=rlevel): """Ticket #271""" np.ma.array([1],mask=False).repeat(10) def test_masked_array_repr_unicode(self): """Ticket #1256""" repr(np.ma.array(u"Unicode")) def test_atleast_2d(self): """Ticket #1559""" a = np.ma.masked_array([0.0, 1.2, 3.5], mask=[False, True, False]) b = np.atleast_2d(a) assert_(a.mask.ndim == 1) assert_(b.mask.ndim == 2) if __name__ == "__main__": run_module_suite()