From: Mike Bayer Date: Mon, 15 Sep 2014 18:57:41 +0000 (-0400) Subject: - use compat.u for python3.2, fixes #3198 X-Git-Tag: rel_0_9_8~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e55e5f3b70085caf89da157383c248eff02932e9;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - use compat.u for python3.2, fixes #3198 --- diff --git a/test/sql/test_metadata.py b/test/sql/test_metadata.py index 3a252c646b..7c23e11f70 100644 --- a/test/sql/test_metadata.py +++ b/test/sql/test_metadata.py @@ -16,7 +16,7 @@ from sqlalchemy import testing from sqlalchemy.testing import ComparesTables, AssertsCompiledSQL from sqlalchemy.testing import eq_, is_, mock from contextlib import contextmanager - +from sqlalchemy import util class MetaDataTest(fixtures.TestBase, ComparesTables): @@ -2626,7 +2626,7 @@ class DialectKWArgTest(fixtures.TestBase): lambda arg: "goofy_%s" % arg): with self._fixture(): idx = Index('a', 'b') - idx.kwargs[u'participating_x'] = 7 + idx.kwargs[util.u('participating_x')] = 7 eq_( list(idx.dialect_kwargs),