-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
PR: Add missing tests for aliased methods #317
Conversation
96b71f5
to
5056678
Compare
Seems like just a few random Qt segfaults on a few specific tests on a couple platforms... |
5056678
to
2cdecf9
Compare
2cdecf9
to
13718ad
Compare
b04af5d
to
16dd533
Compare
237c80d
to
3ff71b5
Compare
f05fb0e
to
327f52d
Compare
327f52d
to
51f46b8
Compare
hi, @dalthviz Thank you for testing. I think subclass tests are needed to check that the original problem is fixed.
|
351955b
to
0ef6f10
Compare
0ef6f10
to
d69796d
Compare
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.
Thanks @dalthviz ! I had a few comments/suggestions, mostly substantive ones as opposed to nitpicks.
* Change skip constrains definition (`os.name` vs `sys.platform`) * `pytest` version constraints * Syntaxis to select `pytest-qt` version to install on the CIs Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
8e3f052
to
4b9c2ca
Compare
4d668bc
to
aa01584
Compare
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.
One minor comment, otherwise LGTM! Thanks @dalthviz !
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.
This looks pretty good to me, thanks @dalthviz!
Apart from the small formatting nitpicks I left for you, I also suggest to do a small refactoring to simplify the skip conditions you added to several tests here.
* Improve test files docstrings and add blank lines at the end of files * Use `Path.exists` instead of `os.path.exists` Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
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.
Last style suggestions for you @dalthviz, then this should be ready.
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.
Fix a few syntax errors in @ccordoba12 's suggestions; otherwise looks good. Thanks @dalthviz !
* Improve skip statements code style Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
0d8ff1a
to
1edfc07
Compare
…rror with the dataclasses module when building wheel
1edfc07
to
4a29566
Compare
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.
Great work, thanks @dalthviz!
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.
LGTM, thanks @dalthviz !
Fixes #316
New tests for: