From 5b2b8c521e2d40180c2be38f676e67549ccc2791 Mon Sep 17 00:00:00 2001 From: "Matwey V. Kornilov" Date: Thu, 19 Dec 2024 15:40:55 +0300 Subject: [PATCH] Reenable python tests --- test_python/test_pyarray.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test_python/test_pyarray.py b/test_python/test_pyarray.py index 9955ee7..4e7d5eb 100644 --- a/test_python/test_pyarray.py +++ b/test_python/test_pyarray.py @@ -23,7 +23,6 @@ import numpy as np class XtensorTest(TestCase): - """ def test_rm(self): xt.test_rm(np.array([10], dtype=int)) @@ -62,7 +61,6 @@ def test_example3(self): with self.assertRaises(TypeError): x = np.arange(3*2).reshape(3, 2) xt.example3_xfixed2(x) - """ def test_broadcast_addition(self): x = np.array([[2., 3., 4., 5.]]) y = np.array([[1., 2., 3., 4.], @@ -73,7 +71,6 @@ def test_broadcast_addition(self): [3., 5., 7., 9.]]) z = xt.array_addition(x, y) np.testing.assert_allclose(z, res, 1e-12) - """ def test_broadcast_subtraction(self): x = np.array([[4., 5., 6., 7.]]) y = np.array([[4., 3., 2., 1.], @@ -307,7 +304,6 @@ def test_native_casters(self): self.assertEqual(adapter.shape, (2, 2)) adapter[1, 1] = -3 self.assertEqual(arr[0, 5], -3) - """ class AttributeTest(TestCase):