Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit03e5da2

Browse files
Reenable python tests (#315)
Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
1 parentf95746f commit03e5da2

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
importnumpyasnp
2424

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

@@ -62,7 +61,6 @@ def test_example3(self):
6261
withself.assertRaises(TypeError):
6362
x=np.arange(3*2).reshape(3,2)
6463
xt.example3_xfixed2(x)
65-
"""
6664
deftest_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
deftest_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
classAttributeTest(TestCase):
313309

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp