File: numpy_1.24.patch

package info (click to toggle)
python-loompy 3.0.7%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,316 kB
  • sloc: python: 3,152; sh: 63; makefile: 16
file content (19 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 12 Jan 2023 08:52:44 +0100
Description: Adapt to numpy 1.24

--- a/tests/test_connection.py
+++ b/tests/test_connection.py
@@ -14,10 +14,10 @@ class LoomConnectionTests(TestCase):
             self.file.name,
             np.random.random((5, 5)),
             row_attrs={
-                "key": np.fromiter(range(5), dtype=np.int)
+                "key": np.fromiter(range(5), dtype=int)
             },
             col_attrs={
-                "key": np.fromiter(range(5), dtype=np.int)
+                "key": np.fromiter(range(5), dtype=int)
             })
 
     def tearDown(self) -> None: