--- you can reply above this line --- New issue 280: Assertion rewriting failure for call with keyword on Py 2.6.0 https://bitbucket.org/hpk42/pytest/issue/280/assertion-rewriting-failure-for-call-with
tlynn: "assert f(x=True)" upsets the assertion rewriter in Python 2.6.0 (minor version seems to matter). The 'keyword' ast node for 'x' in 'f(x=True)' lacks an '_attributes' attribute in Python 2.6.0. This breaks the set_location function at _pytest/assertion/rewrite.py:316. The node does have a .value attribute with '_attributes' though, so you could fall back to using that. This looks related to http://bugs.python.org/issue4067. -- This is an issue notification from bitbucket.org. You are receiving this either because you are the owner of the issue, or you are following the issue. _______________________________________________ pytest-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pytest-commit
