Skip to content

Commit 5d7752b

Browse files
style: pre-commit fixes
1 parent 702b695 commit 5d7752b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tests/test_3690_to_dataframe_masked_string_dtype_resize.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
from __future__ import annotations
44

5-
import pytest
6-
75
import awkward as ak
86

97

@@ -45,11 +43,9 @@ def test_masked_bytestring_array_with_option():
4543
def test_union_with_narrow_strings():
4644
"""Test union arrays with narrow strings and None values."""
4745
# Test case from the existing test_union_to_record
48-
unionarray = ak.Array([
49-
{"x": "a", "y": 1.1},
50-
{"y": 2.2, "z": "b"},
51-
{"x": "c", "y": 3.3}
52-
])
46+
unionarray = ak.Array(
47+
[{"x": "a", "y": 1.1}, {"y": 2.2, "z": "b"}, {"x": "c", "y": 3.3}]
48+
)
5349

5450
df = ak.operations.to_dataframe(unionarray)
5551

0 commit comments

Comments
 (0)