Skip to content

Add parameterized test for type immutability#957

Merged
bors[bot] merged 1 commit into
hgrecco:masterfrom
jthielen:issue-925
Dec 27, 2019
Merged

Add parameterized test for type immutability#957
bors[bot] merged 1 commit into
hgrecco:masterfrom
jthielen:issue-925

Conversation

@jthielen
Copy link
Copy Markdown
Contributor

@jthielen jthielen commented Dec 27, 2019

As discussed in #925, this adds a parameterized test to verify that the internal type is not mutated under common operations (as encountered in #399, #481, #509, #622, #678).

@hgrecco
Copy link
Copy Markdown
Owner

hgrecco commented Dec 27, 2019

bors r+

bors Bot added a commit that referenced this pull request Dec 27, 2019
957: Add parameterized test for type immutability r=hgrecco a=jthielen

As discussed in #925, this adds a parameterized test to verify that the internal type is not mutated under common operations (as encountered in #399, #481, #509, #622, #678).

- [x] Closes #925, Closes #481
- [x] Executed ``black -t py36 . && isort -rc . && flake8`` with no errors
- [x] The change is fully covered by automated unit tests
- ~~Documented in docs/ as appropriate~~
- [x] Added an entry to the CHANGES file


Co-authored-by: Jon Thielen <[email protected]>
@bors
Copy link
Copy Markdown
Contributor

bors Bot commented Dec 27, 2019

Build succeeded

@bors bors Bot merged commit ca3d9c7 into hgrecco:master Dec 27, 2019
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.

Add tests to ensure internal type is not mutated except in inplace operations np.isfinite() changes internal type?

2 participants