We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a28668 commit 5b2b8c5Copy full SHA for 5b2b8c5
test_python/test_pyarray.py
@@ -23,7 +23,6 @@
23
import numpy as np
24
25
class XtensorTest(TestCase):
26
- """
27
def test_rm(self):
28
xt.test_rm(np.array([10], dtype=int))
29
@@ -62,7 +61,6 @@ def test_example3(self):
62
61
with self.assertRaises(TypeError):
63
x = np.arange(3*2).reshape(3, 2)
64
xt.example3_xfixed2(x)
65
66
def test_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
def test_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
class AttributeTest(TestCase):
313
0 commit comments