Skip to content

Commit a78dc8f

Browse files
committed
fix pylint
1 parent a3fe3a2 commit a78dc8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,11 +1830,11 @@ def test_strided_slice_dynamic_7(self):
18301830

18311831
@check_opset_min_version(10, "Slice")
18321832
def test_new_axis_mask(self):
1833-
x_val = np.arange(5*10*10*10*10*20*30).astype("float32").reshape((5,10,10,10,10,20,30))
1833+
x_val = np.arange(5*10*10*10*10*20*30).astype("float32").reshape((5, 10, 10, 10, 10, 20, 30))
18341834
y_val = np.array(9, dtype=np.int32)
18351835
x = tf.placeholder(tf.float32, x_val.shape, name=_TFINPUT)
18361836
y = tf.placeholder(tf.int32, y_val.shape, name=_TFINPUT1)
1837-
x_ = x[tf.newaxis, 0:y, y::2, tf.newaxis, :, tf.newaxis, :y, tf.newaxis,...,9]
1837+
x_ = x[tf.newaxis, 0:y, y::2, tf.newaxis, :, tf.newaxis, :y, tf.newaxis, ..., 9]
18381838
_ = tf.identity(x_, name=_TFOUTPUT)
18391839
self._run_test_case([_OUTPUT], {_INPUT: x_val, _INPUT1: y_val})
18401840

0 commit comments

Comments
 (0)