Commit 54dee7ac authored by Joseph Weston's avatar Joseph Weston

skip qsymm tests if sympy and qsymm are not installed

This is a partial application of the changeset proposed in
which removes the need for a '', instead using

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.
parent 5541cd0e
Pipeline #15464 passed with stages
in 41 minutes and 54 seconds
......@@ -9,9 +9,12 @@
from collections import OrderedDict
import numpy as np
import sympy
import qsymm
from pytest import importorskip
sympy = importorskip('sympy')
qsymm = importorskip('qsymm')
from qsymm.symmetry_finder import symmetries
from qsymm.hamiltonian_generator import bloch_family, hamiltonian_from_family
from qsymm.groups import (hexagonal, PointGroupElement, spin_matrices,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment