From: Mike Bayer Date: Sat, 28 Jul 2012 11:30:29 +0000 (-0400) Subject: the name shouldn't be needed here X-Git-Tag: rel_0_3_6~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=156e79f918adcfbbf70e734c7dae2441b3227b5a;p=thirdparty%2Fsqlalchemy%2Falembic.git the name shouldn't be needed here --- diff --git a/tests/test_op.py b/tests/test_op.py index e9799bc7..b7abaef9 100644 --- a/tests/test_op.py +++ b/tests/test_op.py @@ -155,14 +155,14 @@ def test_alter_column_schema_type_existing_type(): def test_alter_column_schema_type_existing_type_no_const(): context = op_fixture('postgresql') - op.alter_column("t", "c", type_=String(10), existing_type=Boolean(name="xyz")) + op.alter_column("t", "c", type_=String(10), existing_type=Boolean()) context.assert_( 'ALTER TABLE t ALTER COLUMN c TYPE VARCHAR(10)' ) def test_alter_column_schema_type_existing_type_no_new_type(): context = op_fixture('postgresql') - op.alter_column("t", "c", nullable=False, existing_type=Boolean(name="xyz")) + op.alter_column("t", "c", nullable=False, existing_type=Boolean()) context.assert_( 'ALTER TABLE t ALTER COLUMN c SET NOT NULL' )