Skip to content

Commit

Permalink
Fix hypothesis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danepitkin committed Aug 22, 2023
1 parent 0ddbff5 commit fa83e39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/pyarrow/tests/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -2026,7 +2026,7 @@ def test_array_pickle_dictionary(pickle_module):
size=st.integers(min_value=0, max_value=10)
)
)
def test_pickling(arr, pickle_module):
def test_pickling(pickle_module, arr):
data = pickle_module.dumps(arr)
restored = pickle_module.loads(data)
assert arr.equals(restored)
Expand Down
2 changes: 1 addition & 1 deletion python/pyarrow/tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ def test_is_boolean_value():
@h.example(
pa.field(name='', type=pa.null(), metadata={'0': '', '': ''})
)
def test_pickling(field, pickle_module):
def test_pickling(pickle_module, field):
data = pickle_module.dumps(field)
assert pickle_module.loads(data) == field

Expand Down

0 comments on commit fa83e39

Please sign in to comment.