From: Nate Clark Date: Mon, 18 Feb 2019 21:21:20 +0000 (-0600) Subject: Update missed branch in py2k test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc5d7b38706bdeddd2d4f82d119de556606f39cd;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update missed branch in py2k test The python2 branch of this test wasn't updated appropriately. It adds a missing "\n" due to joining on "\n" instead " ". Removes an extra "\" from the escaped unicode that is no longer needed since the SQL is being rendered using %s instead of %r. --- diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py index fc152417a2..e18cdfad4c 100644 --- a/test/engine/test_execute.py +++ b/test/engine/test_execute.py @@ -410,8 +410,8 @@ class ExecuteTest(fixtures.TestBase): assert_raises_message( tsa.exc.StatementError, util.u( - "A value is required for bind parameter 'uname'" - r".*SELECT users.user_name AS .m\\xe9il." + "A value is required for bind parameter 'uname'\n" + r".*SELECT users.user_name AS .m\xe9il." ) if util.py2k else util.u(