- Refresh remove_mock.patch to add a missing file to it.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=221
This commit is contained in:
Steve Kowalik 2022-03-25 01:14:41 +00:00 committed by Git OBS Bridge
parent 9b561131ed
commit 5d423a4c7c
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 25 01:13:50 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Refresh remove_mock.patch to add a missing file to it.
-------------------------------------------------------------------
Mon Feb 7 10:59:43 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -166,3 +166,15 @@ Index: setuptools-58.3.0/pkg_resources/tests/__init__.py
+ import mock
+except ImportError:
+ from unittest import mock
Index: setuptools-58.3.0/setuptools/tests/test_bdist_deprecations.py
===================================================================
--- setuptools-58.3.0.orig/setuptools/tests/test_bdist_deprecations.py
+++ setuptools-58.3.0/setuptools/tests/test_bdist_deprecations.py
@@ -1,6 +1,6 @@
"""develop tests
"""
-import mock
+from . import mock
import sys
import pytest