summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-07-16 19:48:02 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-07-16 19:48:02 +0300
commita9cc94e56222d5dbcca91fcbe2c779d76a3fa192 (patch)
treef5fdfd8306099c21972f7c06a263c36870a7fb5c /dev-python/ipython_genutils
parentapp-admin/needrestart: update Manifest (diff)
downloadgentoo-a9cc94e56222d5dbcca91fcbe2c779d76a3fa192.tar.gz
gentoo-a9cc94e56222d5dbcca91fcbe2c779d76a3fa192.tar.bz2
gentoo-a9cc94e56222d5dbcca91fcbe2c779d76a3fa192.zip
dev-python/ipython_genutils: fix patch whitespaces
Closes: https://bugs.gentoo.org/858371 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/ipython_genutils')
-rw-r--r--dev-python/ipython_genutils/files/ipython_genutils-0.2.0-remove-nose.patch12
1 files 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 @@