Bug#1101505: fenics-dolfinx: successful pusimp tests display tested error states

Drew Parsons dparsons at debian.org
Fri Mar 28 14:48:56 GMT 2025


Source: fenics-dolfinx
Version: 1:0.9.0-6
Severity: normal

The pusimp test in fenics-dolfinx/debian/tests/test-dolfinx-python-pusimp
invokes pytest with -s.

This means the tested error conditions get displayed, even when the
test is successful, e.g. showing
  ImportError: pusimp has detected the following problems with dolfinx dependencies
when the error is intended.

It's distracting because you see the (expected) error output declaring
when actually the test passed. It makes it harder to read actual test
errors.

Let's run the tests without `-s`.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.20-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the debian-science-maintainers mailing list