Traktor/myenv/Lib/site-packages/pandas/tests/io/test_gbq.py

15 lines
401 B
Python
Raw Normal View History

2024-05-26 05:12:46 +02:00
import pandas as pd
import pandas._testing as tm
def test_read_gbq_deprecated():
with tm.assert_produces_warning(FutureWarning):
with tm.external_error_raised(Exception):
pd.read_gbq("fake")
def test_to_gbq_deprecated():
with tm.assert_produces_warning(FutureWarning):
with tm.external_error_raised(Exception):
pd.DataFrame(range(1)).to_gbq("fake")