NeuroKit
NeuroKit copied to clipboard
[Fix] Fixed failing complexity test
Description
Because misc/expspace.py was changed in this commit, the adjacent test now fails. As also proposed in #683 , I now also want to just adjust the numbers to what I get in a notebook. Also I linted the whole file.
If there are other (py)tests failing, I also want to clean that up over the weekend.
Proposed Changes
The interesting changes are on line 40 and 42 with new exact numbers. The rest is just linting; I also changed from a print message to an exception in line 634.
Checklist
Here are some things to check before creating the PR. If you encounter any issues, do let us know :)
- [x] I have read the CONTRIBUTING file.
- [x] My PR is targetted at the dev branch (and not towards the master branch).
- [x] I ran the CODE CHECKS on the files I added or modified and fixed the errors.
- [ ] I have added the newly added features to News.rst (if applicable)