1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/changeset/4cff6242f274/ changeset: 4cff6242f274 user: hpk42 date: 2012-11-30 12:18:12 summary: when informations gets truncated, mention use of "-vv" to see it. affected #: 2 files diff -r 8cc3505ca7801cfff4f9a688e824abeaf0f1b7fc -r 4cff6242f274afa4a47ede78139e63fdb726828b _pytest/assertion/__init__.py --- a/_pytest/assertion/__init__.py +++ b/_pytest/assertion/__init__.py @@ -78,7 +78,7 @@ if new_expl: # Don't include pageloads of data unless we are very verbose (-vv) if len(''.join(new_expl[1:])) > 80*8 and item.config.option.verbose < 2: - new_expl[1:] = ['Detailed information too verbose, truncated'] + new_expl[1:] = ['Detailed information truncated, use "-vv" to see'] res = '\n~'.join(new_expl) if item.config.getvalue("assertmode") == "rewrite": # The result will be fed back a python % formatting diff -r 8cc3505ca7801cfff4f9a688e824abeaf0f1b7fc -r 4cff6242f274afa4a47ede78139e63fdb726828b testing/test_assertion.py --- a/testing/test_assertion.py +++ b/testing/test_assertion.py @@ -164,7 +164,7 @@ result = testdir.runpytest() result.stdout.fnmatch_lines([ - "*too verbose, truncated*", + "*truncated*use*-vv*", ]) 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