File: fix_test_regex_32bit_PR8154.patch

package info (click to toggle)
python-pyvista 0.46.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 177,016 kB
  • sloc: python: 94,352; sh: 216; makefile: 70
file content (22 lines) | stat: -rw-r--r-- 963 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
20
21
22
From d1f283c8639f949f7925021aad4dc9c1fd5d4516 Mon Sep 17 00:00:00 2001
From: user27182 <89109579+user27182@users.noreply.github.com>
Date: Thu, 4 Dec 2025 10:03:53 -0700
Subject: [PATCH] Fix regex in dimensionality test for platform-dependent dtype

---
 tests/core/test_imagedata_filters.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: python-pyvista/tests/core/test_imagedata_filters.py
===================================================================
--- python-pyvista.orig/tests/core/test_imagedata_filters.py	2026-01-26 23:15:26.931492079 +0100
+++ python-pyvista/tests/core/test_imagedata_filters.py	2026-01-26 23:15:26.928081726 +0100
@@ -1220,7 +1220,7 @@
             4,
             operator.add,
             TypeError,
-            "Array has incorrect dtype of 'int64'. The dtype must be a subtype of <class 'bool'>.",
+            "The dtype must be a subtype of <class 'bool'>.",
         ),
         (
             (2, 2, 2),