This repository was archived by the owner on Nov 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Just pass the tests #113
Merged
Merged
Just pass the tests #113
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
8ea8957
Modified ROIMixin to avoid multiple initialization of QObject
malik-irain 9513e4e
fix: QGraphicsItem.type returns an int and not the python type
malik-irain 05ec7ac
adapted workflow
malik-irain 3dca4ab
Merge remote-tracking branch 'origin/5.0.x_dev' into fix/pass-the-tests
malik-irain 08c7f61
set SearchLineEdit timer parent
malik-irain 0afe774
Add a Proxy to wrap a Widget and it's QAction to provide better PySid…
malik-irain 1bc2477
Ensure tests don't delete objects twice by using deleteLater
malik-irain 7318d84
removed debug print
malik-irain 6045ede
simplify workflow
malik-irain f2197dd
Merge remote-tracking branch 'origin/5.0.x_dev' into fix/pass-the-tests
malik-irain c1b751a
Replaced processevents with qbot.wait
malik-irain 329a78f
Debug command
malik-irain 1499d2a
Set Viewer2D parent + some renaming
malik-irain File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
if it's not inheriting from QObject one cannot create and use signal. I guess because it's a mixin, it's no big deal if used within another class inheriting from QObject? Or maybe that was the issue?
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.
As it's a Mixin class it's not supposed to be used by itself and it's actually used by another class inheriting QObject. So in the end, QObject was initialized twice. When done in normal execution it's fine (or at least it doesn't crash) but in pytest it seems to be the source of segfaults.
I tried several ways to solve the problem but this was the only functional one.
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 understood! THere are still tests not working ;-)