Skip to content

Commit 7c70df4

Browse files
Apply suggestions from code review
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent cff22d4 commit 7c70df4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/tests/io/test_parquet.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1133,8 +1133,9 @@ def test_infer_string_large_string_type(self, tmp_path, pa):
11331133

11341134
def test_non_nanosecond_timestamps(self, temp_file):
11351135
# GH#49236
1136-
import pyarrow as pa
1137-
import pyarrow.parquet as pq
1136+
pa = pytest.importorskip("pyarrow")
1137+
pq = pytest.importorskip("pyarrow.parquet")
1138+
11381139

11391140
arr = pa.array([datetime.datetime(1600, 1, 1)], type=pa.timestamp("us"))
11401141
table = pa.table([arr], names=["timestamp"])

0 commit comments

Comments
 (0)