Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5b2b8c5

Browse files
committedDec 19, 2024
Reenable python tests
1 parent 6a28668 commit 5b2b8c5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎test_python/test_pyarray.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import numpy as np
2424

2525
class XtensorTest(TestCase):
26-
"""
2726
def test_rm(self):
2827
xt.test_rm(np.array([10], dtype=int))
2928

@@ -62,7 +61,6 @@ def test_example3(self):
6261
with self.assertRaises(TypeError):
6362
x = np.arange(3*2).reshape(3, 2)
6463
xt.example3_xfixed2(x)
65-
"""
6664
def test_broadcast_addition(self):
6765
x = np.array([[2., 3., 4., 5.]])
6866
y = np.array([[1., 2., 3., 4.],
@@ -73,7 +71,6 @@ def test_broadcast_addition(self):
7371
[3., 5., 7., 9.]])
7472
z = xt.array_addition(x, y)
7573
np.testing.assert_allclose(z, res, 1e-12)
76-
"""
7774
def test_broadcast_subtraction(self):
7875
x = np.array([[4., 5., 6., 7.]])
7976
y = np.array([[4., 3., 2., 1.],
@@ -307,7 +304,6 @@ def test_native_casters(self):
307304
self.assertEqual(adapter.shape, (2, 2))
308305
adapter[1, 1] = -3
309306
self.assertEqual(arr[0, 5], -3)
310-
"""
311307

312308
class AttributeTest(TestCase):
313309

0 commit comments

Comments
 (0)
Please sign in to comment.