Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotImplementedError in TestLaserSpectrum unit test #417

Closed
vsnever opened this issue Aug 9, 2023 · 1 comment · Fixed by #418
Closed

NotImplementedError in TestLaserSpectrum unit test #417

vsnever opened this issue Aug 9, 2023 · 1 comment · Fixed by #418
Assignees
Labels

Comments

@vsnever
Copy link
Member

vsnever commented Aug 9, 2023

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.

@vsnever
Copy link
Member Author

vsnever commented Aug 9, 2023

Fixed in #418.

@vsnever vsnever closed this as completed Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant