Skip to content

Commit

Permalink
Fix flakes
Browse files Browse the repository at this point in the history
Change-Id: I477e3babec8bfdde952c4ff03193a23c304ef565
  • Loading branch information
wesm committed Oct 26, 2017
1 parent a675719 commit 87db87a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions python/pyarrow/tests/test_convert_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,8 @@ def test_zero_copy_dictionaries(self):
result = arr.to_pandas(zero_copy_only=True)
values = pd.Categorical(['A', 'A'])

tm.assert_series_equal(
pd.Series(result),
pd.Series(values),
check_names=False)
tm.assert_series_equal(pd.Series(result), pd.Series(values),
check_names=False)

def test_zero_copy_failure_on_object_types(self):
with pytest.raises(pa.ArrowException):
Expand Down Expand Up @@ -258,14 +256,6 @@ def test_zero_copy_failure_on_timestamp_types(self):
with pytest.raises(pa.ArrowException):
pa.array(arr).to_pandas(zero_copy_only=True)

def test_zero_copy_dictionaries(self):
arr = pa.DictionaryArray.from_arrays(
np.array([0, 0]),
np.array(['A']))

with pytest.raises(pa.ArrowException):
arr.to_pandas(zero_copy_only=True)

def test_float_nulls(self):
num_values = 100

Expand Down

0 comments on commit 87db87a

Please sign in to comment.