def test_create_index_expr(self):
        m = MetaData()
        t1 = Table('foo', m,
                   Column('x', Integer)
                   )
        self.assert_compile(
            schema.CreateIndex(Index("bar", t1.c.x > 5)),
            "CREATE INDEX bar ON foo (x > 5)"
        )
dataset/ETHPy150Open zzzeek/sqlalchemy/test/dialect/mssql/test_compiler.py/CompileTest.test_create_index_expr/original