code: def test_load_flight():
      es = load_flight(
          month_filter=[1],
          categorical_filter={"origin_city": ["Charlotte, NC"]},
          return_single_table=False,
          nrows=1000,
      )
      assert isinstance(es, EntitySet)
      dataframe_names = ["airports", "flights", "trip_logs", "airlines"]
      realvals = [(11, 3), (13, 9), (103, 21), (1, 1)]
      for i, name in enumerate(dataframe_names):
          assert es[name].shape == realvals[i]
  
file_path: featuretools/featuretools/tests/demo_tests/test_demo_data.py
imports: import urllib.request
  import pandas
  import pytest
  from featuretools import EntitySet
  from featuretools.demo import load_flight, load_mock_customer, load_retail, load_weather
label_desc: Use image node_id 4 for calling a global function with example usage: test_load_flight() without return types