code: def test_join_dtypes_all_nan(any_numeric_ea_dtype):
      # GH#49830
      midx = MultiIndex.from_arrays(
          [Series([1, 2], dtype=any_numeric_ea_dtype), [np.nan, np.nan]]
      )
      midx2 = MultiIndex.from_arrays(
          [
              Series([1, 0, 0], dtype=any_numeric_ea_dtype),
              [np.nan, np.nan, np.nan],
          ]
      )
      result = midx.join(midx2, how="outer")
      expected = MultiIndex.from_arrays(
          [
              Series([0, 0, 1, 2], dtype=any_numeric_ea_dtype),
              [np.nan, np.nan, np.nan, np.nan],
          ]
      )
      tm.assert_index_equal(result, expected)
  
file_path: pandas/pandas/tests/indexes/multi/test_join.py
imports: import numpy
  import pytest
  from pandas import DataFrame, Index, Interval, MultiIndex, Series, StringDtype
  import pandas._testing
label_desc: Use image node_id 12 for calling a global function with example usage: test_join_dtypes_all_nan(any_numeric_ea_dtype) without return types