diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-07-17 05:35:34 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-07-17 05:35:34 +0000 |
| commit | 6057f4f73cfd245a6404bb6be9853b4ba1062e0d (patch) | |
| tree | 46f5aa658980d58ff0aab50b5c72c76154f048ac /dev-python/ipython_genutils | |
| parent | 6295920e7dbc2c642f457a0cca59aae06c924776 (diff) | |
| download | baldeagleos-repo-6057f4f73cfd245a6404bb6be9853b4ba1062e0d.tar.gz baldeagleos-repo-6057f4f73cfd245a6404bb6be9853b4ba1062e0d.tar.xz baldeagleos-repo-6057f4f73cfd245a6404bb6be9853b4ba1062e0d.zip | |
Adding metadata
Diffstat (limited to 'dev-python/ipython_genutils')
| -rw-r--r-- | dev-python/ipython_genutils/files/ipython_genutils-0.2.0-remove-nose.patch | 12 |
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 @@ |
