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_1_0_5~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1bb9c99ea9f3e36e5d4a9f1d4f21f1d0a252db4a;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - liberalize list.remove() regexp as recent Pypy versions format this message differently than cpython --- diff --git a/test/orm/test_attributes.py b/test/orm/test_attributes.py index 96c6451d0f..80d8cdc04b 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