We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d893177 commit 7666ea7Copy full SHA for 7666ea7
tests/unit/test_table.py
@@ -2170,7 +2170,11 @@ def test_to_geodataframe(self):
2170
df = row_iterator.to_geodataframe(create_bqstorage_client=False)
2171
self.assertIsInstance(df, geopandas.GeoDataFrame)
2172
self.assertEqual(len(df), 0) # verify the number of rows
2173
- assert not hasattr(df, "crs") # used with Python >= 3.9
+
2174
+ if geopandas.__version__ == "0.9.0":
2175
+ assert hasattr(df, "crs")
2176
+ else:
2177
+ assert not hasattr(df, "crs")
2178
2179
2180
class TestRowIterator(unittest.TestCase):
0 commit comments