Skip to content

skip qsymm tests if sympy and qsymm are not installed

Joseph Weston requested to merge jbweston/kwant:hotfix/qsymm-tests into master

This is a partial application of the changeset proposed in !274 (closed), which removes the need for a 'conftest.py', instead using 'pytest.importorskip'.

We apply this change only to 'qsymm', as applying this change elsewhere requires rethinking where tests are put in the package structure of Kwant. This minimal change allows us to build packages for Conda and Debian, which is necessary for releasing Kwant 1.4.

Merge request reports