From: Mike Bayer Date: Sun, 24 May 2015 13:49:14 +0000 (-0400) Subject: - liberalize list.remove() regexp as recent Pypy versions X-Git-Tag: rel_0_9_10~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c430cdf674e58ce374ab9f367f5460ee40c67e48;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - liberalize list.remove() regexp as recent Pypy versions format this message differently than cpython (cherry picked from commit 1bb9c99ea9f3e36e5d4a9f1d4f21f1d0a252db4a) --- diff --git a/test/orm/test_attributes.py b/test/orm/test_attributes.py index 87ef11d13a..4630ea9174 100644 --- a/test/orm/test_attributes.py +++ b/test/orm/test_attributes.py @@ -123,7 +123,7 @@ class AttributeImplAPITest(fixtures.MappedTest): assert_raises_message( ValueError, - r"list.remove\(x\): x not in list", + r"list.remove\(.*?\): .* not in list", A.b.impl.remove, attributes.instance_state(a1), attributes.instance_dict(a1), b2, None