- Add remove_mock.patch to remove dependency on the external mock package. OBS-URL: https://build.opensuse.org/request/show/853748 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-genty?expand=0&rev=6
12 lines
345 B
Diff
12 lines
345 B
Diff
--- a/test/test_genty.py
|
|
+++ b/test/test_genty.py
|
|
@@ -3,7 +3,7 @@
|
|
from __future__ import unicode_literals
|
|
import functools
|
|
import inspect
|
|
-from mock import patch
|
|
+from unittest.mock import patch
|
|
import six
|
|
from genty import genty, genty_args, genty_dataset, genty_repeat, genty_dataprovider
|
|
from genty.genty import REPLACE_FOR_PERIOD_CHAR
|