[py-svn] py-trunk commit 5c9a85575454: correct expected message

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sun Jun 20 05:55:40 CEST 2010


# HG changeset patch -- Bitbucket.org
# Project py-trunk
# URL http://bitbucket.org/hpk42/py-trunk/overview
# User Benjamin Peterson <benjamin at python.org>
# Date 1276919706 18000
# Node ID 5c9a855754547f6fdf5b26ad794523e78e5e8675
# Parent  c366f6ebdbde0d0d1b56c189f3234cd7141f2eca
correct expected message

--- a/testing/code/test_assertion.py
+++ b/testing/code/test_assertion.py
@@ -151,7 +151,7 @@ def test_power():
         assert 2**3 == 7
     except AssertionError:
         e = exvalue()
-        assert "assert 8 == 7" in e.msg
+        assert "assert (2 ** 3) == 7" in e.msg
 
 
 class TestView:



More information about the pytest-commit mailing list