From 9499b88f85e814e24c8fac7e0b932d3c9e877ba6 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 21 Nov 2013 15:39:05 -0500 Subject: fix [ticket:2868] some more --- test/sql/test_unicode.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/sql') 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): -- cgit v1.2.1