15
0
forked from pool/python-case

- Add remove-nose.patch:

* Stop using nose to skip tests.
- Adjust Requires from python-nose to python-pytest.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=10
This commit is contained in:
2021-09-15 04:40:19 +00:00
committed by Git OBS Bridge
parent dadb02a190
commit 4a14df258f
3 changed files with 23 additions and 2 deletions

13
remove-nose.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: case-1.5.3/case/skip.py
===================================================================
--- case-1.5.3.orig/case/skip.py
+++ case-1.5.3/case/skip.py
@@ -4,7 +4,7 @@ import importlib
import os
import sys
-from nose import SkipTest
+from unittest import SkipTest
from .utils import decorator, symbol_by_name