Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Apr 7, 2023
1 parent ef363e4 commit 5a8c0f6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/unit/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -3562,7 +3562,9 @@ def test_to_dataframe_w_dtypes_mapper(self):
self.assertEqual(df.name.dtype.name, "string")
self.assertEqual(
df.date.dtype.name,
"date32[day][pyarrow]" if hasattr(pandas, "ArrowDtype") else "datetime64[ns]",
"date32[day][pyarrow]"
if hasattr(pandas, "ArrowDtype")
else "datetime64[ns]",
)
self.assertEqual(
df.datetime.dtype.name,
Expand All @@ -3574,7 +3576,9 @@ def test_to_dataframe_w_dtypes_mapper(self):
)
self.assertEqual(
df.timestamp.dtype.name,
"timestamp[us, tz=UTC][pyarrow]" if hasattr(pandas, "ArrowDtype") else "object",
"timestamp[us, tz=UTC][pyarrow]"
if hasattr(pandas, "ArrowDtype")
else "object",
)

@unittest.skipIf(pandas is None, "Requires `pandas`")
Expand Down

0 comments on commit 5a8c0f6

Please sign in to comment.