class_docstr: Legacy behavior tried to prevent schema-qualified tables
  from being rendered as dotted names, and were instead aliased.
  
  This behavior no longer seems to be required.
class_docstr_tok: ["Legacy","behavior","tried","to","prevent","schema-qualified","tables","from","being","rendered","as","dotted","names",",","and","were","instead","aliased",".","This","behavior","no","longer","seems","to","be","required","."]
code: def test_legacy_schema_flag(self, cfg, expected):
      with testing.expect_deprecated(
          "The legacy_schema_aliasing parameter"
      ):
          e = engine_from_config(
              cfg, module=Mock(version="MS SQL Server 11.0.92")
          )
          is_(e.dialect.legacy_schema_aliasing, expected)
  
imports: from unittest.mock import Mock
  from sqlalchemy import Column
  from sqlalchemy import engine_from_config
  from sqlalchemy import Integer
  from sqlalchemy import MetaData
  from sqlalchemy import select
  from sqlalchemy import String
  from sqlalchemy import Table
  from sqlalchemy import testing
  from sqlalchemy.dialects.mssql import base
  from sqlalchemy.sql import column
  from sqlalchemy.sql import table
  from sqlalchemy.sql.selectable import LABEL_STYLE_TABLENAME_PLUS_COL
  from sqlalchemy.testing import assertions
  from sqlalchemy.testing import AssertsCompiledSQL
  from sqlalchemy.testing import engines
  from sqlalchemy.testing import eq_
  from sqlalchemy.testing import fixtures
  from sqlalchemy.testing import is_
label_desc: Use image node_id 4 for calling the LegacySchemaAliasingTest obj's underlying member method code with example usage: obj.test_legacy_schema_flag(cfg, expected) without return types