code: def test_from_dict_orient_invalid(self):
      msg = (
          "Expected 'index', 'columns' or 'tight' for orient parameter. "
          "Got 'abc' instead"
      )
      with pytest.raises(ValueError, match=msg):
          DataFrame.from_dict(
              {"foo": 1, "baz": 3, "bar": 2}, orient="abc"
          )
  
file_path: pandas/pandas/tests/frame/constructors/test_from_dict.py
imports: from collections import OrderedDict
  import numpy
  import pytest
  from pandas._config import using_pyarrow_string_dtype
  from pandas import DataFrame, Index, MultiIndex, RangeIndex, Series
  import pandas._testing
label_desc: Use image node_id 10 for calling the TestFromDict obj's underlying member method code with example usage: obj.test_from_dict_orient_invalid() without return types