Skip to content

ENH: Cleanup python wrapping tests - #643

Merged
fbudin69500 merged 2 commits into
InsightSoftwareConsortium:masterfrom
maekclena:cleanup_python_test
Mar 30, 2019
Merged

fbudin69500 merged 2 commits into
InsightSoftwareConsortium:masterfrom
maekclena:cleanup_python_test

Conversation

@maekclena

Copy link
Copy Markdown
Contributor
  • Remove last remaining modules tests
  • Remove outdated "notYetUsable" tests
  • Remove Numpy condition, tests work fine without it
  • Update exclude-filters.txt
  • Rewrite and enable findEmptyClasses.py
  • Exclude ScanlineFilterCommon from getNameOfClass.py to fix Re-enable the PythonGetNameOfClass test #96.

I initially wanted to rewrite ScanlineFilterCommon to have it inherit ImageToImageFilter but this introduces a diamond inheritance with InPlaceImageFilter, which I imagine is why is used composition in the first place. Honestly, I don't know why it needs to be wrapped.

@dzenanz dzenanz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, I don't know why [ScanlineFilterCommon] needs to be wrapped.

Python wrapping complains if it is not wrapped? 😄

@thewtex thewtex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup!

@fbudin69500 fbudin69500 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning up!

@fbudin69500

Copy link
Copy Markdown
Contributor

Awesome! Thanks! 👍

@fbudin69500
fbudin69500 merged commit eed9fc7 into InsightSoftwareConsortium:master Mar 30, 2019
@maekclena
maekclena deleted the cleanup_python_test branch April 15, 2019 13:30
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 6, 2026
…up_python_test

ENH: Cleanup python wrapping tests
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 12, 2026
…up_python_test

ENH: Cleanup python wrapping tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Re-enable the PythonGetNameOfClass test

4 participants