File tree 1 file changed +0
-12
lines changed
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -17,18 +17,6 @@ def test_tensor_contract_strip_exponent():
17
17
# test tn.exponent is reinserted with strip exponent
18
18
m3 , e3 = tn .contract (strip_exponent = True )
19
19
assert m3 * 10 ** e3 == pytest .approx (z0 )
20
- # test tn.exponent is not reinserted when specified
21
- z4 = tn .contract (exponent = False )
22
- assert z4 != pytest .approx (z0 )
23
- # test tn.exponent is not reinserted when specified with strip exponent
24
- m5 , e5 = tn .contract (strip_exponent = True , exponent = False )
25
- assert m5 * 10 ** e5 != pytest .approx (z0 )
26
- # test explicit exponent
27
- z6 = tn .contract (exponent = tn .exponent )
28
- assert z6 == pytest .approx (z0 )
29
- # test explicit exponent with strip exponent
30
- m7 , e7 = tn .contract (strip_exponent = True , exponent = tn .exponent )
31
- assert m7 * 10 ** e7 == pytest .approx (z0 )
32
20
33
21
34
22
@pytest .mark .parametrize ("strip_exponent" , [False , True ])
You can’t perform that action at this time.
0 commit comments