diff --git a/pytest-3.6.2.tar.gz b/pytest-3.6.2.tar.gz deleted file mode 100644 index b50e748..0000000 --- a/pytest-3.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ea01fc4fcc8e1b1e305252b4bc80a1528019ab99fd3b88666c9dc38d754406c -size 829730 diff --git a/pytest-3.6.3.tar.gz b/pytest-3.6.3.tar.gz new file mode 100644 index 0000000..0d96e1b --- /dev/null +++ b/pytest-3.6.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0453c8676c2bee6feb0434748b068d5510273a916295fd61d306c4f22fbfd752 +size 830949 diff --git a/python-pytest-doc.changes b/python-pytest-doc.changes index 2cbe2a4..bba0bba 100644 --- a/python-pytest-doc.changes +++ b/python-pytest-doc.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jul 16 00:17:40 UTC 2018 - mimi.vx@gmail.com + +- update to pytest-3.6.3 +- drop python_mock.patch + * Fix ImportWarning triggered by explicit relative imports in assertion-rewritten + package modules. + * Fix error in pytest.approx when dealing with 0-dimension numpy arrays. + * No longer raise ValueError when using the get_marker API. + * Fix problem where log messages with non-ascii characters would not appear + in the output log file. + * No longer raise AttributeError when legacy marks can't be stored in functions. + ------------------------------------------------------------------- Fri Jun 22 15:47:28 UTC 2018 - mimi.vx@gmail.com diff --git a/python-pytest-doc.spec b/python-pytest-doc.spec index fbda53c..741b2bc 100644 --- a/python-pytest-doc.spec +++ b/python-pytest-doc.spec @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-doc -Version: 3.6.2 +Version: 3.6.3 Release: 0 Summary: Documentation for python-pytest, a testing tool with autodiscovery License: MIT Group: Documentation/HTML URL: https://github.com/pytest-dev/pytest Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz -Patch: python_mock.patch BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pytest = %{version}} BuildRequires: %{python_module setuptools_scm} @@ -45,7 +44,6 @@ testing tool. %prep %setup -q -n pytest-%{version} -%patch -p1 %build python3 setup.py build_sphinx diff --git a/python-pytest.changes b/python-pytest.changes index 7411811..f45ccae 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jul 16 00:17:40 UTC 2018 - mimi.vx@gmail.com + +- update to pytest-3.6.3 +- drop python_mock.patch + * Fix ImportWarning triggered by explicit relative imports in assertion-rewritten + package modules. + * Fix error in pytest.approx when dealing with 0-dimension numpy arrays. + * No longer raise ValueError when using the get_marker API. + * Fix problem where log messages with non-ascii characters would not appear + in the output log file. + * No longer raise AttributeError when legacy marks can't be stored in functions. + ------------------------------------------------------------------- Fri Jun 22 15:48:06 UTC 2018 - mimi.vx@gmail.com diff --git a/python-pytest.spec b/python-pytest.spec index 90ee265..dbec1fd 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest -Version: 3.6.2 +Version: 3.6.3 Release: 0 Summary: Python testing tool with autodiscovery and detailed asserts License: MIT diff --git a/python_mock.patch b/python_mock.patch deleted file mode 100644 index 3db70d4..0000000 --- a/python_mock.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: pytest-3.6.2/testing/test_mark.py -=================================================================== ---- pytest-3.6.2.orig/testing/test_mark.py -+++ pytest-3.6.2/testing/test_mark.py -@@ -1,7 +1,11 @@ - from __future__ import absolute_import, division, print_function - import os - import sys --import mock -+try: -+ import mock -+except ImportError: -+ import unittest.mock as mock -+ - import pytest - from _pytest.mark import ( - MarkGenerator as Mark,