Skip to content

ENH: CI testing uses Python 3 - #1072

Merged
thewtex merged 3 commits into
InsightSoftwareConsortium:masterfrom
thewtex:ci-python-3
Jul 25, 2019
Merged

thewtex merged 3 commits into
InsightSoftwareConsortium:masterfrom
thewtex:ci-python-3

Conversation

@thewtex

@thewtex thewtex commented Jul 7, 2019

Copy link
Copy Markdown
Member

No description provided.

@thewtex
thewtex force-pushed the ci-python-3 branch 2 times, most recently from f3b2997 to b926623 Compare July 8, 2019 18:21
@thewtex

thewtex commented Jul 18, 2019

Copy link
Copy Markdown
Member Author

Rebasing on master...

@hjmjohnson

Copy link
Copy Markdown
Member

@thewtex Thanks Matt.

@hjmjohnson

Copy link
Copy Markdown
Member

@thewtex

# on ITK.macOS.Python
The following tests FAILED:
	218 - itkPyBufferTest (Failed)

@hjmjohnson hjmjohnson 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.

LGTM! Thanks Matt.

Now that we support VectorImage's, which have a runtime specified number
of components,
DefaultConvertPixelTraits<PixelType>::GetNumberOfComponents() does not
return the desired value. This causes the
test_NumPyBridge_itkVectorImage to fail as a false positive.

We already have a similar check later, which compares the NumPy array buffer length
to the ITK PixelBuffer size, `numberOfPixels*numberOfPixels*pixelSize`,
so this can be safely removed.
@thewtex
thewtex merged commit 26484c0 into InsightSoftwareConsortium:master Jul 25, 2019
@thewtex
thewtex deleted the ci-python-3 branch July 25, 2019 13:19
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 6, 2026
hjmjohnson pushed a commit to hjmjohnson/ITK that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Python wrapping Python bindings for a class

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants