def METHOD_NAME(self):
    m1 = MetaData(
        naming_convention={"ck": "ck_%(table_name)s_%(constraint_name)s"}
    )
    ck = CheckConstraint("im a constraint", name="cc1")
    Table("t", m1, Column("x"), ck)
    context = op_fixture(
        naming_convention={"ck": "ck_%(table_name)s_%(constraint_name)s"}
    )
    op.create_table("some_table", Column("x", Integer, ck))
    context.assert_(
        "CREATE TABLE some_table "
        "(x INTEGER CONSTRAINT ck_t_cc1 CHECK (im a constraint))"
    )