[py-svn] pytest-xdist commit 79185d6f713e: don't test deprecation warnings on python2.7
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Jul 6 15:02:15 CEST 2010
# HG changeset patch -- Bitbucket.org
# Project pytest-xdist
# URL http://bitbucket.org/hpk42/pytest-xdist/overview
# User holger krekel <holger at merlinux.eu>
# Date 1278421300 -7200
# Node ID 79185d6f713e003b9aa48c856374562a37cb24d8
# Parent 735211f749ce1098f66e2ab2fdd58db8e0fa68c1
don't test deprecation warnings on python2.7
--- a/testing/test_deprecated.py
+++ b/testing/test_deprecated.py
@@ -1,5 +1,6 @@
import py
+ at py.test.mark.xfail("sys.version_info[:2] == (2,7)")
def test_dist_conftest_options(testdir, recwarn):
p1 = testdir.tmpdir.ensure("dir", 'p1.py')
p1.dirpath("__init__.py").write("")
More information about the pytest-commit
mailing list