From: Mike Bayer Date: Wed, 10 Dec 2025 14:19:23 +0000 (-0500) Subject: add length, take two X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=668ea5b7384297236330ead78919889b4473807f;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git add length, take two followup to 292aa19698326793003 Change-Id: I283059eaf747c722b871afa55aaeaa2889862584 --- diff --git a/test/orm/test_mapper.py b/test/orm/test_mapper.py index 7c524f59c2..c97bc4e79a 100644 --- a/test/orm/test_mapper.py +++ b/test/orm/test_mapper.py @@ -1073,13 +1073,13 @@ class MapperTest(_fixtures.FixtureTest, AssertsCompiledSQL): def setup_props(mapper, class_): if property_type.ColumnProperty: - col = Column("new_column", String) + col = Column("new_column", String(50)) mapper.local_table.append_column(col) mapper.add_property( col.key, deferred(col, group="deferred_group") ) elif property_type.Column: - col = Column("new_column", String) + col = Column("new_column", String(50)) mapper.local_table.append_column(col) mapper.add_property(col.key, col) elif property_type.Relationship: