diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
| commit | 8e8120eabdd28020aa69c7a60505cce2edd20adc (patch) | |
| tree | 061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /dev-python/toml/files | |
| parent | c16790af2c9b4cbc38e565d4311252193ff85484 (diff) | |
| download | baldeagleos-repo-21.1.2.tar.gz baldeagleos-repo-21.1.2.tar.xz baldeagleos-repo-21.1.2.zip | |
Updating liguros repo21.1.2
Diffstat (limited to 'dev-python/toml/files')
| -rw-r--r-- | dev-python/toml/files/toml-0.10.1-skip-numpy.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-python/toml/files/toml-0.10.1-skip-numpy.patch b/dev-python/toml/files/toml-0.10.1-skip-numpy.patch deleted file mode 100644 index 5c6808d2daf4..000000000000 --- a/dev-python/toml/files/toml-0.10.1-skip-numpy.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 93901215b45db2ab9d50987ac109c29acbe34600 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Mon, 25 May 2020 16:38:17 +0200 -Subject: [PATCH] Skip numpy tests when numpy is not available - -Make it possible to successfully run tests without numpy installed. -This package is becoming quite hard profile, and being able to test it -without building numpy first would be a nice feature. ---- - tests/test_api.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/test_api.py b/tests/test_api.py -index dd12eb3..67bcd88 100644 ---- a/tests/test_api.py -+++ b/tests/test_api.py -@@ -103,7 +103,7 @@ def test_array_sep(): - - - def test_numpy_floats(): -- import numpy as np -+ np = pytest.importorskip('numpy') - - encoder = toml.TomlNumpyEncoder() - d = {'a': np.array([1, .3], dtype=np.float64)} -@@ -120,7 +120,7 @@ def test_numpy_floats(): - - - def test_numpy_ints(): -- import numpy as np -+ np = pytest.importorskip('numpy') - - encoder = toml.TomlNumpyEncoder() - d = {'a': np.array([1, 3], dtype=np.int64)} --- -2.26.2 - |
