Skip to content

Commit 8a4a54d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0ca4a18 commit 8a4a54d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/libs/test_lib.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,9 @@ def test_ensure_string_array_list_of_lists():
303303
# GH#61155: ensure list of lists doesn't get converted to string
304304
arr = [list("test"), list("word")]
305305
result = lib.ensure_string_array(arr)
306-
306+
307307
# Each item in result should still be a list, not a stringified version
308308
assert isinstance(result, np.ndarray)
309309
assert result.dtype == object
310310
assert result[0] == "['t', 'e', 's', 't']"
311311
assert result[1] == "['w', 'o', 'r', 'd']"
312-

0 commit comments

Comments
 (0)