code: def test_to_gbq_deprecated():
      with tm.assert_produces_warning(FutureWarning):
          with tm.external_error_raised(Exception):
              pd.DataFrame(range(1)).to_gbq("fake")
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_to_gbq_deprecated() without return types