code: def test_round_empty_not_input(self):
      # GH#51032
      df = DataFrame({"a": [1, 2]})
      msg = "'DataFrame.swapaxes' is deprecated"
      with tm.assert_produces_warning(FutureWarning, match=msg):
          result = df.swapaxes("index", "index")
      tm.assert_frame_equal(df, result)
      assert df is not result
  
file_path: pandas/pandas/tests/frame/methods/test_swapaxes.py
imports: import numpy
  import pytest
  from pandas import DataFrame
  import pandas._testing
label_desc: Use image node_id 4 for calling the TestSwapAxes obj's underlying member method code with example usage: obj.test_round_empty_not_input() without return types