diff options
author | Roman Podolyaka <roman.podolyaka@gmail.com> | 2013-06-23 12:04:21 +0300 |
---|---|---|
committer | Roman Podolyaka <roman.podolyaka@gmail.com> | 2013-06-23 12:57:53 +0300 |
commit | 25b4637bcde9bdc86240ce5eef834374a1203925 (patch) | |
tree | 5c39776e851a749809f6ad5c62d386836bde3dbe /lib/sqlalchemy/testing | |
parent | eba9d1b58f38577fb71d3374a2133d6e9159c277 (diff) | |
download | sqlalchemy-pr/10.tar.gz |
Fix unicode literals on Python 3.1 and 3.2pr/10
A few tests use u'' unicode literals which are not
supported in Python versions 3.1 and 3.2.
Diffstat (limited to 'lib/sqlalchemy/testing')
-rw-r--r-- | lib/sqlalchemy/testing/suite/test_select.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_select.py b/lib/sqlalchemy/testing/suite/test_select.py index b040c8f25..b8a755b8c 100644 --- a/lib/sqlalchemy/testing/suite/test_select.py +++ b/lib/sqlalchemy/testing/suite/test_select.py @@ -1,6 +1,7 @@ from .. import fixtures, config from ..assertions import eq_ +from sqlalchemy import util from sqlalchemy import Integer, String, select, func from ..schema import Table, Column @@ -63,7 +64,7 @@ class OrderByLabelTest(fixtures.TablesTest): ly = (func.lower(table.c.q) + table.c.p).label('ly') self._assert_result( select([lx, ly]).order_by(lx, ly.desc()), - [(3, u'q1p3'), (5, u'q2p2'), (7, u'q3p1')] + [(3, util.u('q1p3')), (5, util.u('q2p2')), (7, util.u('q3p1'))] ) def test_plain_desc(self): |