From 156e79f918adcfbbf70e734c7dae2441b3227b5a Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 28 Jul 2012 07:30:29 -0400 Subject: [PATCH] the name shouldn't be needed here --- tests/test_op.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' ) -- 2.47.2