Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
c3b9363d
"vscode:/vscode.git/clone" did not exist on "c7102e56b246cc5cd73d9787b2c837c0bc384d1e"
Unverified
Commit
c3b9363d
authored
Jun 12, 2021
by
Nikita Titov
Committed by
GitHub
Jun 12, 2021
Browse files
[tests][python] fix f-string in test_dask.py (#4373)
parent
57fc2f98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/python_package_test/test_dask.py
tests/python_package_test/test_dask.py
+1
-1
No files found.
tests/python_package_test/test_dask.py
View file @
c3b9363d
...
...
@@ -199,7 +199,7 @@ def _create_data(objective, n_samples=1_000, output='array', chunk_size=500, **k
dy
=
da
.
from_array
(
y
,
chunks
=
chunk_size
)
dw
=
da
.
from_array
(
weights
,
chunk_size
)
else
:
raise
ValueError
(
"Unknown output type '{output}'"
)
raise
ValueError
(
f
"Unknown output type '
{
output
}
'"
)
return
X
,
y
,
weights
,
None
,
dX
,
dy
,
dw
,
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment