code: def test_info_duplicate_columns_shows_correct_dtypes():
      # GH11761
      io = StringIO()
      frame = DataFrame([[1, 2.0]], columns=["a", "a"])
      frame.info(buf=io)
      lines = io.getvalue().splitlines(True)
      assert " 0   a       1 non-null      int64  \n" == lines[5]
      assert " 1   a       1 non-null      float64\n" == lines[6]
  
imports: from io import StringIO
  import re
  from string import ascii_uppercase
  import sys
  import textwrap
  import numpy
  import pytest
  from pandas.compat import IS64, PYPY
  from pandas import CategoricalIndex, DataFrame, MultiIndex, Series, date_range, option_context
  import pandas._testing
label_desc: Use image node_id 11 for calling a global function with example usage: test_info_duplicate_columns_shows_correct_dtypes() without return types