Skip to content
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

Fixup region props test #4099

Merged
merged 1 commit into from Aug 18, 2019

Conversation

hmaarrfk
Copy link
Member

Closes #4098

Description

Checklist

For reviewers

  • Check that the PR title is short, concise, and will make sense 1 year
    later.
  • Check that new functions are imported in corresponding __init__.py.
  • Check that new features, API changes, and deprecations are mentioned in
    doc/release/release_dev.rst.
  • Consider backporting the PR with @meeseeksdev backport to v0.14.x

Copy link
Member

@jni jni left a comment

Choose a reason for hiding this comment

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

Terrible! Thanks for finding this, @hmaarrfk and @rdgraham!

@alexdesiqueira alexdesiqueira merged commit f9b91a1 into scikit-image:master Aug 18, 2019
@alexdesiqueira
Copy link
Member

Thanks for the fix @hmaarrfk!

@@ -451,7 +451,8 @@ def test_iterate_all_props():


def test_cache():
region = regionprops(SAMPLE)[0]
SAMPLE_mod = SAMPLE.copy()
Copy link
Member

Choose a reason for hiding this comment

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

SAMPLE should probably a fixture.

@hmaarrfk
Copy link
Member Author

Yeah. Fixtures are a flavor of the week thing. Unless you are concious about data copies, the porboem will still exist.

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.

regionprops tests isn't quite right
4 participants