Hi.
Note: The patch in my previous email was untested,
but I've now checked in platti.debian.org that the
output of platform.machine() is indeed 'ppc64le',
(for some reason it's different than the "dpkg" name)
so I believe the patch should work.
Regarding the failure on armel, the output
of platform.machine() in an armel chroot
seems to be 'armv8l'.
In this case I used codesearch.debian.net to
look for similar cases and found a skipif
for armel in the "scipy" package which uses
startswith().
I'm attaching a patch to skip the armel failure
using a similar skipif.
Can I make a team upload with these two patches
to see if they fix the autopkgtests?
(I think they should)
Thanks.
Description: Skip failing test on armel
Author: Santiago Vila <sanv...@debian.org>
Bug-Debian: https://bugs.debian.org/1098246
Last-Update: 2025-02-27
--- sympy-1.13.3.orig/sympy/plotting/tests/test_plot.py
+++ sympy-1.13.3/sympy/plotting/tests/test_plot.py
@@ -1,5 +1,6 @@
import os
from tempfile import TemporaryDirectory
+import platform
import pytest
from sympy.concrete.summations import Sum
from sympy.core.numbers import (I, oo, pi)
@@ -630,6 +631,10 @@ def test_issue_11865(adaptive):
assert len(p[0].get_data()[0]) >= 30
+@pytest.mark.skipif(
+ platform.machine().startswith('arm'),
+ reason="Test known to fail on armel"
+)
def test_issue_11461():
if not matplotlib:
skip("Matplotlib not the default backend")