-
Notifications
You must be signed in to change notification settings - Fork 6
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
flake8 + test fixes #20
Conversation
AmitAronovitch
commented
Mar 31, 2018
- some minor adjustments to make flake8 pass
- fixes test_from_ra_dec_roll: test failure due to tolerance #19
3 similar comments
@@ -147,7 +147,7 @@ def test_from_ra_dec_roll(self, arr): | |||
[s1 * s3 - c1 * c3 * s2, c3 * s1 + c1 * s2 * s3, c1 * c2] # noqa | |||
])) | |||
|
|||
assert Quaternion.from_ra_dec_roll(*arr) == Quaternion.from_matrix(expected) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to explicitly add the @example
you wrote in the issue, as this will clarify why we need this tolerance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok; I just asked for the problematic example to explicitly show up in the test.
# This is the 1st commit message: pin coveralls version # This is the commit message #2: rever change of pytest-coverage. Pin python-coverage # This is the commit message #3: just as a test, remove coveralls # This is the commit message #4: remove also cov from script 🤦 # This is the commit message #5: pin pytest version # This is the commit message #6: pin hypothesis version # This is the commit message #7: pin hypothesis to 3.55.1 now # This is the commit message #8: do not install pytest-coverage # This is the commit message #9: pin pytest-coverage # This is the commit message #10: install pinned coverage, do not install pytest-coverage :'( # This is the commit message #11: pin attr # This is the commit message #12: attr is attrs # This is the commit message #13: travis, please tell me attr version # This is the commit message #14: go back to original setup.py # This is the commit message #15: exclude coveralls from 3.4 & 3.5. Try 1 # This is the commit message #16: use [] instead of test # This is the commit message #17: install pytest 5.4.3 # This is the commit message #18: travis tell me something # This is the commit message #19: please do tell # This is the commit message #20: ooohhh? # This is the commit message #21: oh 2 # This is the commit message #22: oh 3 # This is the commit message #23: oh 4 # This is the commit message #24: oh 5