File support-numexpr-2.13.0.patch of Package python-tables

From 41270019ce1ffd97ce8f23b21d635e00e12b0ccb Mon Sep 17 00:00:00 2001
From: Francesc Alted <francesc@blosc.org>
Date: Thu, 25 Sep 2025 13:14:57 +0200
Subject: [PATCH] Fix for numexpr 2.13.0 (should be backward compatible)

---
 tables/tests/test_queries.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tables/tests/test_queries.py b/tables/tests/test_queries.py
index 704439047..d0ae85e28 100644
--- a/tables/tests/test_queries.py
+++ b/tables/tests/test_queries.py
@@ -485,9 +485,7 @@ def test_method(self):
                     for _ in range(2)
                 ]
             except TypeError as te:
-                if self.condNotBoolean_re.search(str(te)):
-                    raise SilentlySkipTest("The condition is not boolean.")
-                raise
+                raise SilentlySkipTest("The condition is not boolean.")
             except NotImplementedError:
                 raise SilentlySkipTest(
                     "The PyTables type does not support the operation."
openSUSE Build Service is sponsored by