diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-28 16:00:34 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-28 16:00:34 -0500 |
commit | dbd46170fb2751084d3de09d5a78e5802a839bf2 (patch) | |
tree | 212ac71f4940ba45e69f3faf2f1b7e1ed7d9b2f5 /test/lib/testing.py | |
parent | 96dce7686c6a32ab03ce2ccaabb7a9b4ff0fe56b (diff) | |
download | sqlalchemy-dbd46170fb2751084d3de09d5a78e5802a839bf2.tar.gz |
mark this test as unsupported before 2.6, there's some unicode
issue I'm not exactly sure of what nature it is
Diffstat (limited to 'test/lib/testing.py')
-rw-r--r-- | test/lib/testing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/testing.py b/test/lib/testing.py index e30603f6e..15f85aaf8 100644 --- a/test/lib/testing.py +++ b/test/lib/testing.py @@ -522,7 +522,7 @@ def assert_raises_message(except_cls, msg, callable_, *args, **kwargs): callable_(*args, **kwargs) assert False, "Callable did not raise an exception" except except_cls, e: - assert re.search(msg, unicode(e)), u"%r !~ %s" % (msg, e) + assert re.search(msg, unicode(e), re.UNICODE), u"%r !~ %s" % (msg, e) print unicode(e).encode('utf-8') def fail(msg): |