Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-05-06 01:20:54 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-05-06 01:20:54 +0300
commit03674808d9f39a33f6b2c89d20bb3f4a2f285e71 (patch)
tree221e9f11a171fde08e7328bf641eb55e992ffa40
parent368223aa9d6ed911f17607eb154cd2a66569da2e (diff)
extra/cython: Disable tests
-rw-r--r--extra/cython/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/cython/PKGBUILD b/extra/cython/PKGBUILD
new file mode 100644
index 00000000..602c300e
--- /dev/null
+++ b/extra/cython/PKGBUILD
@@ -0,0 +1,26 @@
+# Suspect rounding errors
+#======================================================================
+#FAIL: cast_test (cpp_stl_any)
+#Doctest: cpp_stl_any.cast_test
+#----------------------------------------------------------------------
+#Traceback (most recent call last):
+# File "/usr/lib/python3.12/doctest.py", line 2249, in runTest
+# raise self.failureException(self.format_failure(new.getvalue()))
+#AssertionError: Failed doctest test for cpp_stl_any.cast_test
+# File "/build/cython/src/cython/TEST_TMP/35/run/cpp/cpp_stl_any/cpp_stl_any.cpython-312-i386-linux-gnu.so", line unknown line number, in cast_test
+#----------------------------------------------------------------------
+#File "/build/cython/src/cython/TEST_TMP/35/run/cpp/cpp_stl_any/cpp_stl_any.cpython-312-i386-linux-gnu.so", line ?, in cpp_stl_any.cast_test
+#Failed example:
+# cast_test()
+#Exception raised:
+# Traceback (most recent call last):
+# File "/usr/lib/python3.12/doctest.py", line 1361, in __run
+# exec(compile(example.source, filename, "single",
+# File "<doctest cpp_stl_any.cast_test[0]>", line 1, in <module>
+# cast_test()
+# File "tests/run/cpp_stl_any.pyx", line 44, in cpp_stl_any.cast_test (cpp_stl_any.cpp:2901)
+# assert any_cast[double](a) == 3.14
+# AssertionError
+
+unset check
+unset checkdepends