Skip to content

Commit

Permalink
ARROW-8303: [Python] Fix test failure on Python 3.5 caused by non-det…
Browse files Browse the repository at this point in the history
…erministic dict key ordering

See failure for example https://github.com/apache/arrow/runs/550556785

Closes #6796 from wesm/fix-python-3.5-failure

Authored-by: Wes McKinney <wesm+git@apache.org>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
wesm authored and kou committed Apr 1, 2020
1 parent b9b9ece commit 4269cdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyarrow/tests/test_feather.py
Expand Up @@ -454,9 +454,9 @@ def test_read_columns(version):
data = {'foo': [1, 2, 3, 4],
'boo': [5, 6, 7, 8],
'woo': [1, 3, 5, 7]}
columns = list(data.keys())[1:3]
columns = ['boo', 'woo']
df = pd.DataFrame(data)
expected = pd.DataFrame({c: data[c] for c in columns})
expected = pd.DataFrame({c: data[c] for c in columns}, columns=columns)
_check_pandas_roundtrip(df, expected, version=version, columns=columns)


Expand Down

0 comments on commit 4269cdd

Please sign in to comment.