code: def test_frame_outer_disallowed():
      df = pd.DataFrame({"A": [1, 2]})
      with pytest.raises(NotImplementedError, match=""):
          # deprecation enforced in 2.0
          np.subtract.outer(df, df)
  
file_path: pandas/pandas/tests/frame/test_ufunc.py
imports: from functools import partial
  import re
  import numpy
  import pytest
  import pandas
  import pandas._testing
  from pandas.api.types import is_extension_array_dtype
label_desc: Use image node_id 9 for calling a global function with example usage: test_frame_outer_disallowed() without return types