code: def test_names_from_none(df_checks_output):
      """Raise ValueError if no value is provided for `names_from`."""
      with pytest.raises(ValueError):
          df_checks_output.pivot_wider(index="geoid", names_from=None)
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
label_desc: Use image node_id 4 for calling a global function with example usage: test_names_from_none(df_checks_output) without return types