]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- liberalize list.remove() regexp as recent Pypy versions
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 May 2015 13:49:14 +0000 (09:49 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 May 2015 13:49:46 +0000 (09:49 -0400)
format this message differently than cpython

(cherry picked from commit 1bb9c99ea9f3e36e5d4a9f1d4f21f1d0a252db4a)

test/orm/test_attributes.py

index 87ef11d13a6f0c581698c81ae47eade1f69f52c9..4630ea9174d78ef9457f093f516ec7e93ca6c41e 100644 (file)
@@ -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