code: def test_from_arrays_respects_none_names():
      # GH27292
      a = Series([1, 2, 3], name="foo")
      b = Series(["a", "b", "c"], name="bar")
  
      result = MultiIndex.from_arrays([a, b], names=None)
      expected = MultiIndex(
          levels=[[1, 2, 3], ["a", "b", "c"]],
          codes=[[0, 1, 2], [0, 1, 2]],
          names=None,
      )
  
      tm.assert_index_equal(result, expected)
  
imports: from datetime import date, datetime
  import itertools
  import numpy
  import pytest
  from pandas.core.dtypes.cast import construct_1d_object_array_from_listlike
  import pandas
  from pandas import Index, MultiIndex, Series, Timestamp, date_range
  import pandas._testing
label_desc: Use image node_id 16 for calling a global function with example usage: test_from_arrays_respects_none_names() without return types