Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
danepitkin committed Aug 22, 2023
1 parent 6d79f1c commit 7710a86
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/pyarrow/tests/test_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -3288,7 +3288,6 @@ def test_rank_options():
tiebreaker="NonExisting")


<<<<<<< HEAD
def create_sample_expressions():
# We need a schema for substrait conversion
schema = pa.schema([pa.field("i64", pa.int64()), pa.field(
Expand All @@ -3297,9 +3296,6 @@ def create_sample_expressions():
# Creates a bunch of sample expressions for testing
# serialization and deserialization. The expressions are categorized
# to reflect certain nuances in Substrait conversion.
=======
def test_expression_serialization(pickle_module):
>>>>>>> e89e7dc19 (Parametrize all pickling tests to use both the pickle and cloudpickle modules)
a = pc.scalar(1)
b = pc.scalar(1.1)
c = pc.scalar(True)
Expand Down Expand Up @@ -3366,7 +3362,7 @@ def test_expression_serialization(pickle_module):
# Tests the Arrow-specific serialization mechanism


def test_expression_serialization_arrow():
def test_expression_serialization_arrow(pickle_module):
for expr in create_sample_expressions()["all"]:
assert isinstance(expr, pc.Expression)
restored = pickle_module.loads(pickle_module.dumps(expr))
Expand Down

0 comments on commit 7710a86

Please sign in to comment.