File fix-np.float.patch of Package python-hug
From bf00a647fa8758533f8771b6932cd7baffae32bd Mon Sep 17 00:00:00 2001
From: Sebastian Wagner <swagner@intevation.de>
Date: Wed, 18 Sep 2024 12:41:12 +0200
Subject: [PATCH] remove removed float types removed in numpy 2.0
np.float_
np.longfloat
---
tests/test_output_format.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/test_output_format.py b/tests/test_output_format.py
index 9d54c5d6..06ab9f72 100644
--- a/tests/test_output_format.py
+++ b/tests/test_output_format.py
@@ -398,12 +398,10 @@ def test_json_converter_numpy_types():
numpy.ushort,
]
np_float_types = [
- numpy.float_,
numpy.float32,
numpy.float64,
numpy.half,
numpy.single,
- numpy.longfloat,
]
np_unicode_types = [numpy.str_]
np_bytes_types = [numpy.bytes_]