| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f95746f commit 03e5da2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,7 +23,6 @@ | |||
| 23 | 23 | import numpy as np | |
| 24 | 24 | ||
| 25 | 25 | class XtensorTest(TestCase): | |
| 26 | - """ | ||
| 27 | 26 | def test_rm(self): | |
| 28 | 27 | xt.test_rm(np.array([10], dtype=int)) | |
| 29 | 28 | ||
@@ -62,7 +61,6 @@ def test_example3(self): | |||
| 62 | 61 | with self.assertRaises(TypeError): | |
| 63 | 62 | x = np.arange(3*2).reshape(3, 2) | |
| 64 | 63 | xt.example3_xfixed2(x) | |
| 65 | - """ | ||
| 66 | 64 | def test_broadcast_addition(self): | |
| 67 | 65 | x = np.array([[2., 3., 4., 5.]]) | |
| 68 | 66 | 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 | 73 | np.testing.assert_allclose(z, res, 1e-12) | |
| 76 | - """ | ||
| 77 | 74 | def test_broadcast_subtraction(self): | |
| 78 | 75 | x = np.array([[4., 5., 6., 7.]]) | |
| 79 | 76 | 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 | 307 | ||
| 312 | 308 | class AttributeTest(TestCase): | |
| 313 | 309 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments