Index: head/devel/py-pytest-mock/files/patch-test__pytest__mock.py =================================================================== --- head/devel/py-pytest-mock/files/patch-test__pytest__mock.py (revision 449112) +++ head/devel/py-pytest-mock/files/patch-test__pytest__mock.py (nonexistent) @@ -1,28 +0,0 @@ ---- test_pytest_mock.py.orig 2017-06-25 15:24:57 UTC -+++ test_pytest_mock.py -@@ -100,25 +100,6 @@ def test_mock_patch_dict(mocker): - assert x == {'original': 1} - - --def test_mock_fixture_is_deprecated(testdir): -- """ -- Test that a warning emitted when using deprecated "mock" fixture. -- """ -- testdir.makepyfile(''' -- import warnings -- import os -- warnings.simplefilter('always') -- -- def test_foo(mock, tmpdir): -- mock.patch('os.listdir', return_value=['mocked']) -- assert os.listdir(str(tmpdir)) == ['mocked'] -- mock.stopall() -- assert os.listdir(str(tmpdir)) == [] -- ''') -- result = testdir.runpytest('-s') -- result.stderr.fnmatch_lines(['*"mock" fixture has been deprecated*']) -- -- - def test_deprecated_mock(mock, tmpdir): - """ - Use backward-compatibility-only mock fixture to ensure complete coverage. Property changes on: head/devel/py-pytest-mock/files/patch-test__pytest__mock.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/py-pytest-mock/Makefile =================================================================== --- head/devel/py-pytest-mock/Makefile (revision 449112) +++ head/devel/py-pytest-mock/Makefile (revision 449113) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= pytest-mock -PORTVERSION= 1.6.0 +PORTVERSION= 1.6.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= olgeni@FreeBSD.org COMMENT= Thin wrapper around the mock package for easier use with py.test LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py${SLAVE_SUFFIX}-setuptools_scm RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock NO_ARCH= yes USES+= python USE_PYTHON= autoplist concurrent distutils do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest .include Index: head/devel/py-pytest-mock/distinfo =================================================================== --- head/devel/py-pytest-mock/distinfo (revision 449112) +++ head/devel/py-pytest-mock/distinfo (revision 449113) @@ -1,3 +1,3 @@ -TIMESTAMP = 1498381564 -SHA256 (pytest-mock-1.6.0.tar.gz) = 83a17cbcd4dbc7c6c9dc885a0d598f9acd11f2d5142e0718ed32e14538670c1f -SIZE (pytest-mock-1.6.0.tar.gz) = 17780 +TIMESTAMP = 1504343724 +SHA256 (pytest-mock-1.6.2.tar.gz) = 4e8721abd858ec3c3fe0284efb761748fae9e5cddb126dddb69a0b60664cdd44 +SIZE (pytest-mock-1.6.2.tar.gz) = 19399