14
0
forked from pool/python-flaky

Accepting request 855334 from home:mcepl:branches:devel:tools:scm

- Add remove_mock.patch to remove dependency on the external mock package.

- Add remove_nose.patch to remove dependency on nose.

OBS-URL: https://build.opensuse.org/request/show/855334
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flaky?expand=0&rev=15
This commit is contained in:
2020-12-12 12:11:57 +00:00
committed by Git OBS Bridge
parent 79c76bf4da
commit 0a27e432dc
4 changed files with 947 additions and 14 deletions

11
remove_mock.patch Normal file
View File

@@ -0,0 +1,11 @@
--- a/test/test_pytest/test_flaky_pytest_plugin.py
+++ b/test/test_pytest/test_flaky_pytest_plugin.py
@@ -2,7 +2,7 @@
from __future__ import unicode_literals
from io import StringIO
-from mock import Mock, patch
+from unittest.mock import Mock, patch
# pylint:disable=import-error
import pytest
from _pytest.runner import CallInfo