New issue 443: Misleading documentation on the "skipped/xfail" page https://bitbucket.org/hpk42/pytest/issue/443/misleading-documentation-on-the-skipped
Alex Grönholm: The test in the example code is incorrect: ``` #!python @pytest.mark.skipif(sys.version_info >= (3,3), reason="requires python3.3") ``` The test should obviously be sys.version_info < (3, 3) if at least Python 3.3 is required. The test in the next example is also incorrect, for the same reason: ``` #!python minversion = pytest.mark.skipif(mymodule.__versioninfo__ >= (1,1), reason="at least mymodule-1.1 required") ``` _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit