1 new changeset in pytest: http://bitbucket.org/hpk42/pytest/changeset/6e6064578fcf/ changeset: 6e6064578fcf user: gutworth date: 2011-10-15 00:08:10 summary: cast boolean thing to int to make py3.3 happy affected #: 1 file (-1 bytes)
--- a/_pytest/assertion/rewrite.py Fri Oct 14 16:26:13 2011 -0400 +++ b/_pytest/assertion/rewrite.py Fri Oct 14 18:08:10 2011 -0400 @@ -484,7 +484,7 @@ res_var = self.variable() expl_list = self.assign(ast.List([], ast.Load())) app = ast.Attribute(expl_list, "append", ast.Load()) - is_or = isinstance(boolop.op, ast.Or) + is_or = int(isinstance(boolop.op, ast.Or)) body = save = self.statements fail_save = self.on_failure levels = len(boolop.values) - 1 Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ py-svn mailing list py-svn@codespeak.net http://codespeak.net/mailman/listinfo/py-svn