1 new changeset in pytest: http://bitbucket.org/hpk42/pytest/changeset/2ab7c6c0ea8c/ changeset: r2137:2ab7c6c0ea8c user: hpk date: 2011-01-12 18:57:40 summary: pypy doesn't neccessarily honour -OO it seems, let's not test assertions there. affected #: 1 file (42 bytes)
--- a/testing/test_assertion.py Wed Jan 12 18:03:55 2011 +0100 +++ b/testing/test_assertion.py Wed Jan 12 18:57:40 2011 +0100 @@ -206,7 +206,7 @@ "*test_traceback_failure.py:4: AssertionError" ]) -...@pytest.mark.skipif("sys.version_info < (2,5)") +...@pytest.mark.skipif("sys.version_info < (2,5) or '__pypy__' in sys.builtin_module_names") def test_warn_missing(testdir): p1 = testdir.makepyfile("") result = testdir.run(sys.executable, "-OO", "-m", "pytest", "-h") 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