test_gbq.py 401 B

1234567891011121314
  1. import pandas as pd
  2. import pandas._testing as tm
  3. def test_read_gbq_deprecated():
  4. with tm.assert_produces_warning(FutureWarning):
  5. with tm.external_error_raised(Exception):
  6. pd.read_gbq("fake")
  7. def test_to_gbq_deprecated():
  8. with tm.assert_produces_warning(FutureWarning):
  9. with tm.external_error_raised(Exception):
  10. pd.DataFrame(range(1)).to_gbq("fake")