Skip to content

Commit

Permalink
fix: clenup
Browse files Browse the repository at this point in the history
  • Loading branch information
ianna committed Oct 26, 2023
1 parent 4f9eeba commit fc1c306
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit fc1c306

Please sign in to comment.