forked from pool/python-flaky
- 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
12 lines
338 B
Diff
12 lines
338 B
Diff
--- 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
|