forked from pool/python-curtsies
- Add remove-nose.patch OBS-URL: https://build.opensuse.org/request/show/790860 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-curtsies?expand=0&rev=14
44 lines
1.2 KiB
Diff
44 lines
1.2 KiB
Diff
diff -ru curtsies.orig/setup.py curtsies/setup.py
|
|
--- curtsies.orig/setup.py 2020-04-02 13:00:55.681024818 +0200
|
|
+++ curtsies/setup.py 2020-04-02 12:59:27.668878151 +0200
|
|
@@ -47,7 +47,6 @@
|
|
tests_require = [
|
|
'mock',
|
|
'pyte',
|
|
- 'nose',
|
|
],
|
|
classifiers=[
|
|
'Development Status :: 3 - Alpha',
|
|
diff -ru curtsies.orig/tests/test_terminal.py curtsies/tests/test_terminal.py
|
|
--- a/tests/test_terminal.py 2020-04-02 13:00:55.681024818 +0200
|
|
+++ b/tests/test_terminal.py 2020-04-02 12:59:15.140857282 +0200
|
|
@@ -37,8 +37,6 @@
|
|
else:
|
|
return lambda x: x
|
|
|
|
- import nose
|
|
-
|
|
def skipFailure(reason):
|
|
def dec(func):
|
|
@functools.wraps(func)
|
|
@@ -46,7 +44,7 @@
|
|
try:
|
|
func(*args, **kwargs)
|
|
except Exception:
|
|
- raise nose.SkipTest
|
|
+ raise unittest.SkipTest
|
|
else:
|
|
raise AssertionError('Failure expected')
|
|
return inner
|
|
--- a/setup.cfg 2020-04-02 13:07:43.113698739 +0200
|
|
+++ b/setup.cfg 2020-04-02 13:07:48.377707433 +0200
|
|
@@ -1,8 +1,3 @@
|
|
-[nosetests]
|
|
-with-doctest = 1
|
|
-cover-package = curtsies
|
|
-cover-html = 1
|
|
-
|
|
[bdist_wheel]
|
|
universal = 1
|
|
|