def METHOD_NAME(self):
    # _io module calls itself io before Python 3.12. This leads
    # to cyclic dependencies when astroid tries to resolve
    # what io.BufferedReader is. The code that handles this
    # is in astroid.raw_building.imported_member, which verifies
    # the true name of the module.
    builder = AstroidBuilder()
    module = builder.inspect_build(_io)
    buffered_reader = module.getattr("BufferedReader")[0]
    expected = "_io" if PY312_PLUS else "io"
    self.assertEqual(buffered_reader.root().name, expected)