We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentf95746f commit03e5da2Copy full SHA for 03e5da2
test_python/test_pyarray.py
@@ -23,7 +23,6 @@
23
importnumpyasnp
24
25
classXtensorTest(TestCase):
26
-"""
27
deftest_rm(self):
28
xt.test_rm(np.array([10],dtype=int))
29
@@ -62,7 +61,6 @@ def test_example3(self):
62
61
withself.assertRaises(TypeError):
63
x=np.arange(3*2).reshape(3,2)
64
xt.example3_xfixed2(x)
65
- """
66
deftest_broadcast_addition(self):
67
x=np.array([[2.,3.,4.,5.]])
68
y=np.array([[1.,2.,3.,4.],
@@ -73,7 +71,6 @@ def test_broadcast_addition(self):
73
71
[3.,5.,7.,9.]])
74
72
z=xt.array_addition(x,y)
75
np.testing.assert_allclose(z,res,1e-12)
76
77
deftest_broadcast_subtraction(self):
78
x=np.array([[4.,5.,6.,7.]])
79
y=np.array([[4.,3.,2.,1.],
@@ -307,7 +304,6 @@ def test_native_casters(self):
307
304
self.assertEqual(adapter.shape, (2,2))
308
305
adapter[1,1]=-3
309
306
self.assertEqual(arr[0,5],-3)
310
311
312
classAttributeTest(TestCase):
313