File tree 2 files changed +1
-3
lines changed
python/paddle/fluid/tests/unittests/dygraph_to_static
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -130,8 +130,6 @@ ignore = [
130
130
[tool .ruff .per-file-ignores ]
131
131
# Ignore unused imports in __init__.py
132
132
"__init__.py" = [" F401" ]
133
- # Temporarily ignore test_slice.py to avoid PR-CI-CINN failure, please fix!
134
- "python/paddle/fluid/tests/unittests/dygraph_to_static/test_slice.py" = [" UP034" ]
135
133
# Ignore version check in setup.py
136
134
"setup.py" = [" UP036" ]
137
135
# Ignore unnecessary comprehension in dy2st unittest test_loop
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ def setUp(self):
120
120
paddle .disable_static ()
121
121
122
122
def init_input (self ):
123
- self .input = np .random .random (( 3 ) ).astype ('int32' )
123
+ self .input = np .random .random (3 ).astype ('int32' )
124
124
125
125
def init_dygraph_func (self ):
126
126
self .dygraph_func = test_slice_without_control_flow
You can’t perform that action at this time.
0 commit comments