code: def test_table_exists():
      """Raise error if there is no table in the sheet."""
      with pytest.raises(
          ValueError, match="There is no table in 'Cover' sheet."
      ):
          io.xlsx_table(filename, "Cover")
  
file_path: pyjanitor/tests/io/test_xlsx_table.py
imports: from pathlib import Path
  import pandas
  import pytest
  from openpyxl import load_workbook
  from pandas.testing import assert_frame_equal
  from janitor import io
label_desc: Use image node_id 3 for calling a global function with example usage: test_table_exists() without return types