From fc1c306d5cdc09e872e30bc29fc0f5d8430a164b Mon Sep 17 00:00:00 2001 From: Ianna Osborne Date: Thu, 26 Oct 2023 09:21:15 +0200 Subject: [PATCH] fix: clenup --- ...st_2770_serialize_and_deserialize_behaviour_for_numba.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_2770_serialize_and_deserialize_behaviour_for_numba.py b/tests/test_2770_serialize_and_deserialize_behaviour_for_numba.py index e6381db80a..6673935111 100644 --- a/tests/test_2770_serialize_and_deserialize_behaviour_for_numba.py +++ b/tests/test_2770_serialize_and_deserialize_behaviour_for_numba.py @@ -1,5 +1,6 @@ # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +import numpy as np import pytest import awkward as ak @@ -33,12 +34,7 @@ def add_xyr(left, right): return add_xyr - behavior = {(np.add, "xyr", "xyr"): make_add_xyr()} - - a = ak.Array([{"x": 3, "y": 4, "r": 5}], with_name="xyr", behavior=behavior) - b = ak.Array([{"x": 3, "y": 4, "r": 5}], with_name="xyr", behavior=behavior) - builder = ak.ArrayBuilder(behavior=behavior) assert func(builder).behavior is behavior