diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-01-10 02:37:39 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-01-10 02:37:39 +0000 |
commit | bf36c648f2ef304f77cbde803453b0075ca6dcde (patch) | |
tree | 058ac03ea0818588629e35cf333274d8cd4cb995 /test/sql/labels.py | |
parent | 84576e3258ea05b044f90463e8a59541661d5931 (diff) | |
download | sqlalchemy-bf36c648f2ef304f77cbde803453b0075ca6dcde.tar.gz |
Reworked r4042- undeclared deprecation warnings are now *fatal* to tests. No surprises.
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): |