10000 Update test_utils.py · scikit-learn/scikit-learn@c0f60b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit c0f60b6

Browse files
committed
Update test_utils.py
Comment instead of docstring to follow sklearn convention.
1 parent fc04688 commit c0f60b6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sklearn/utils/tests/test_utils.py

Lines changed: 2 additions & 4 deletions
< 8EF3 th scope="col">Diff line number
Original file line numberDiff line change
@@ -131,10 +131,8 @@ def test_pinvh_simple_complex():
131131

132132

133133
def test_arpack_eigsh_initialization():
134-
'''
135-
Non-regression test that shows null-space computation is better with
136-
initialization of eigsh from [-1,1] instead of [0,1]
137-
'''
134+
# Non-regression test that shows null-space computation is better with
135+
# initialization of eigsh from [-1,1] instead of [0,1]
138136
random_state = check_random_state(42)
139137

140138
A = random_state.rand(50, 50)

0 commit comments

Comments
 (0)
0