The TestLaserSpectrum unit test raises NotImplementedError with Cython 3.0 because the evaluate() method is not implemented in the base LaserSpectrum class. For some reason this exception was ignored with Cython 0.29.
I suggest doing the tests for the ConstantSpectrum as it is the simplest LaserSpectrum subclass that implements the evaluate() method.
The
TestLaserSpectrum
unit test raisesNotImplementedError
with Cython 3.0 because theevaluate()
method is not implemented in the baseLaserSpectrum
class. For some reason this exception was ignored with Cython 0.29.I suggest doing the tests for the
ConstantSpectrum
as it is the simplestLaserSpectrum
subclass that implements theevaluate()
method.