code: def test_sortlevel_not_sort_remaining():
      mi = MultiIndex.from_tuples(
          [[1, 1, 3], [1, 1, 1]], names=list("ABC")
      )
      sorted_idx, _ = mi.sortlevel("A", sort_remaining=False)
      assert sorted_idx.equals(mi)
  
imports: import numpy
  import pytest
  from pandas.errors import PerformanceWarning, UnsortedIndexError
  from pandas import CategoricalIndex, DataFrame, Index, MultiIndex, RangeIndex, Series, Timestamp
  import pandas._testing
  from pandas.core.indexes.frozen import FrozenList
label_desc: Use image node_id 2 for calling a global function with example usage: test_sortlevel_not_sort_remaining() without return types