diff options
Diffstat (limited to 'test/sql/labels.py')
-rw-r--r-- | test/sql/labels.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sql/labels.py b/test/sql/labels.py index 6f94956dc..90323dc73 100644 --- a/test/sql/labels.py +++ b/test/sql/labels.py @@ -15,7 +15,7 @@ class LabelTypeTest(PersistTest): Column('col1', Integer), Column('col2', Float)) assert isinstance(t.c.col1.label('hi').type, Integer) - assert isinstance(select([t.c.col2], scalar=True).label('lala').type, Float) + assert isinstance(select([t.c.col2]).as_scalar().label('lala').type, Float) class LongLabelsTest(SQLCompileTest): def setUpAll(self): |