From 6057f4f73cfd245a6404bb6be9853b4ba1062e0d Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 17 Jul 2022 05:35:34 +0000 Subject: Adding metadata --- .../files/ipython_genutils-0.2.0-remove-nose.patch | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'dev-python/ipython_genutils') 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 @@ -- cgit v1.3