code: def test_concat_sort_none_raises(self):
      # GH#41518
      df = DataFrame({1: [1, 2], "a": [3, 4]})
      msg = "The 'sort' keyword only accepts boolean values; None was passed."
      with pytest.raises(ValueError, match=msg):
          pd.concat([df, df], sort=None)
  
file_path: pandas/pandas/tests/reshape/concat/test_sort.py
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame
  import pandas._testing
label_desc: Use image node_id 7 for calling the TestConcatSort obj's underlying member method code with example usage: obj.test_concat_sort_none_raises() without return types