fix coverage · googleapis/python-bigquery@ffd6e42 · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Commit ffd6e42

Browse files
committed
fix coverage
1 parent d6ce8c1 commit ffd6e42

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/unit/test_table.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4143,14 +4143,8 @@ def test_to_dataframe_w_dtypes_mapper(self):
41434143
)
41444144
self.assertEqual(df.name.dtype.name, "string")
41454145

4146-
# While pyproject.toml lists pandas 1.1 as the lowest supported version of
4147-
# pandas, the pip resolver is not able to resolve pandas 1.1 and numpy
4148-
if hasattr(pandas, "Float64Dtype"):
4149-
self.assertEqual(list(df.miles), [1.77, 6.66, 2.0])
4150-
self.assertEqual(df.miles.dtype.name, "Float64")
4151-
else:
4152-
self.assertEqual(list(df.miles), ["1.77", "6.66", "2.0"])
4153-
self.assertEqual(df.miles.dtype.name, "string")
4146+
self.assertEqual(list(df.miles), [1.77, 6.66, 2.0])
4147+
self.assertEqual(df.miles.dtype.name, "Float64")
41544148

41554149
if hasattr(pandas, "ArrowDtype"):
41564150
self.assertEqual(

0 commit comments

Comments
 (0)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.