14
0
forked from pool/python-txaio
Files
python-txaio/remove-mock.patch
Matej Cepl 82d43fda94 Accepting request 863945 from home:bnavigator:branches:devel:languages:python
- update to 20.12.1
  * new: CI/CD migrated to GitHub Actions
  * new: support Python 3.9 (CI / testing added)
  * new: minimum Python version is now 3.6 
- add remove-mock.patch gh#crossbario/txaio#169

OBS-URL: https://build.opensuse.org/request/show/863945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txaio?expand=0&rev=21
2021-01-18 08:07:56 +00:00

38 lines
1.0 KiB
Diff

Index: txaio-20.12.1/setup.py
===================================================================
--- txaio-20.12.1.orig/setup.py
+++ txaio-20.12.1/setup.py
@@ -61,7 +61,6 @@ extras_require_dev = [
'sphinxcontrib-spelling>=2.1.2', # BSD
'sphinx_rtd_theme>=0.1.9', # BSD
'tox>=2.1.1', # MIT
- 'mock==1.3.0', # BSD
'twine>=1.6.5', # Apache 2.0
'tox-gh-actions>=2.2.0 ', # MIT
]
Index: txaio-20.12.1/test/test_call_later.py
===================================================================
--- txaio-20.12.1.orig/test/test_call_later.py
+++ txaio-20.12.1/test/test_call_later.py
@@ -26,7 +26,7 @@
import sys
-from mock import patch
+from unittest.mock import patch
import pytest
import txaio
Index: txaio-20.12.1/tox.ini
===================================================================
--- txaio-20.12.1.orig/tox.ini
+++ txaio-20.12.1/tox.ini
@@ -29,7 +29,6 @@ python =
[testenv]
deps =
- mock
pytest==4.6.9
coverage==4.5.4