diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-11-21 15:39:05 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-11-21 15:39:05 -0500 |
commit | 9499b88f85e814e24c8fac7e0b932d3c9e877ba6 (patch) | |
tree | 09f5340ffc56b6943cc7da8d61c5483fc4597426 /test/sql/test_unicode.py | |
parent | 5cdb5f1403e63493643b42fcebe65badce484065 (diff) | |
download | sqlalchemy-9499b88f85e814e24c8fac7e0b932d3c9e877ba6.tar.gz |
fix [ticket:2868] some more
Diffstat (limited to 'test/sql/test_unicode.py')
-rw-r--r-- | test/sql/test_unicode.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/sql/test_unicode.py b/test/sql/test_unicode.py index 454bc8f57..8a8cbd06c 100644 --- a/test/sql/test_unicode.py +++ b/test/sql/test_unicode.py @@ -119,11 +119,13 @@ class UnicodeSchemaTest(fixtures.TestBase): m = MetaData() t = Table(ue('\u6e2c\u8a66'), m, Column(ue('\u6e2c\u8a66_id'), Integer)) + # I hardly understand what's going on with the backslashes in + # this one on py2k vs. py3k eq_( repr(t), ( - "Table(u'\\u6e2c\\u8a66', MetaData(bind=None), " - "Column(u'\\u6e2c\\u8a66_id', Integer(), table=<\\u6e2c\\u8a66>), " + "Table('\\u6e2c\\u8a66', MetaData(bind=None), " + "Column('\\u6e2c\\u8a66_id', Integer(), table=<\u6e2c\u8a66>), " "schema=None)")) class EscapesDefaultsTest(fixtures.TestBase): |