diff options
Diffstat (limited to 'dev-python/py/files/py-1.5.2-skip-apiwarn-pytest31.patch')
-rw-r--r-- | dev-python/py/files/py-1.5.2-skip-apiwarn-pytest31.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/py/files/py-1.5.2-skip-apiwarn-pytest31.patch b/dev-python/py/files/py-1.5.2-skip-apiwarn-pytest31.patch new file mode 100644 index 000000000000..36727df9366b --- /dev/null +++ b/dev-python/py/files/py-1.5.2-skip-apiwarn-pytest31.patch @@ -0,0 +1,14 @@ +https://github.com/pytest-dev/py/issues/162 + +--- a/testing/log/test_warning.py ++++ b/testing/log/test_warning.py +@@ -8,8 +8,7 @@ import py + mypath = py.path.local(__file__).new(ext=".py") + + +-win = sys.platform.startswith('win') +-pytestmark = pytest.mark.skipif(win and LooseVersion(pytest.__version__) >= LooseVersion('3.1'), ++pytestmark = pytest.mark.skipif(LooseVersion(pytest.__version__) >= LooseVersion('3.1'), + reason='apiwarn is not compatible with pytest >= 3.1 (#162)') + + |