Pytest Style analysis/test_gnm.py #1542
Merged
Conversation
can you remove the class |
@kain88-de Better now? |
|
||
result = gnm.results | ||
assert len(result) == 10 | ||
time, eigenvalues, eigenvectors = zip(*result) |
kain88-de
Jul 29, 2017
Member
I don't think you are importing the iterating zip at the top. from six.moves import zip
Please fix that for py2/3 compatibility. It might break the test then you need to write list(zip(*result))
I don't think you are importing the iterating zip at the top. from six.moves import zip
Please fix that for py2/3 compatibility. It might break the test then you need to write list(zip(*result))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Fixes #
Changes made in this Pull Request:
PR Checklist