Skip to content

Commit

Permalink
fixing issue# 106
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikhil Raverkar committed Jul 14, 2022
1 parent dcdf28a commit 01fe75a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/unit/test_modules.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import pandas as pd


def test_pandas_version():
import pandas as pd
major, minor, patch = pd.__version__.split('.')
assert major == '1'


def test_pyarrow_to_parquet_conversion_regression_issue_106():
df = pd.DataFrame({'x': [1,2]})
df.to_parquet('test.parquet', engine='pyarrow')
df = pd.DataFrame({'x': [1, 2]})
df.to_parquet('test.parquet', engine='pyarrow')

0 comments on commit 01fe75a

Please sign in to comment.