* [gentoo-commits] repo/gentoo:master commit in: dev-python/ipython_genutils/files/
@ 2022-07-16 16:48 Arthur Zamarin
0 siblings, 0 replies; only message in thread
From: Arthur Zamarin @ 2022-07-16 16:48 UTC (permalink / raw
To: gentoo-commits
commit: a9cc94e56222d5dbcca91fcbe2c779d76a3fa192
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 16:48:02 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 16:48:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9cc94e5
dev-python/ipython_genutils: fix patch whitespaces
Closes: https://bugs.gentoo.org/858371
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
.../files/ipython_genutils-0.2.0-remove-nose.patch | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/dev-python/ipython_genutils/files/ipython_genutils-0.2.0-remove-nose.patch b/dev-python/ipython_genutils/files/ipython_genutils-0.2.0-remove-nose.patch
index 016c05880ee9..a483aad330fa 100644
--- a/dev-python/ipython_genutils/files/ipython_genutils-0.2.0-remove-nose.patch
+++ b/dev-python/ipython_genutils/files/ipython_genutils-0.2.0-remove-nose.patch
@@ -107,16 +107,18 @@ https://build.opensuse.org/package/view_file/devel:languages:python:jupyter/pyth
--- a/ipython_genutils/tests/test_importstring.py
+++ b/ipython_genutils/tests/test_importstring.py
-@@ -3,7 +3,7 @@
+@@ -3,25 +3,25 @@
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
-import nose.tools as nt
-+import pytest
-
+-
from ..importstring import import_item
-@@ -11,17 +11,17 @@ def test_import_plain():
++import pytest
++
++
+ def test_import_plain():
"Test simple imports"
import os
os2 = import_item('os')
@@ -135,8 +137,8 @@ https://build.opensuse.org/package/view_file/devel:languages:python:jupyter/pyth
def test_import_raises():
"Test that failing imports raise the right exception"
- nt.assert_raises(ImportError, import_item, 'IPython.foobar')
+-
+ pytest.raises(ImportError, import_item, 'IPython.foobar')
-
--- a/ipython_genutils/tests/test_path.py
+++ b/ipython_genutils/tests/test_path.py
@@ -5,15 +5,12 @@
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-16 16:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-16 16:48 [gentoo-commits] repo/gentoo:master commit in: dev-python/ipython_genutils/files/ Arthur Zamarin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox