8000 DOC: Fix ``np.ma.core.doc_note`` by takanori-pskq · Pull Request #16311 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: Fix np.ma.core.doc_note #16311

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

Merged
merged 3 commits into from
Jun 9, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix the test
  • Loading branch information
takanori-pskq committed May 21, 2020
commit e011b02a4b1f8be2d74e0f53ded613826b13e771
2 changes: 2 additions & 0 deletions numpy/ma/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -5284,6 +5284,8 @@ def test_mask_shape_assignment_does_not_break_masked():
b.shape = (1,)
assert_equal(a.mask.shape, ())

@pytest.mark.skipif(sys.flags.optimize > 1,
reason="no docstrings present to inspect when PYTHONOPTIMIZE/Py_OptimizeFlag > 1")
def test_doc_note():
def method(self):
"""This docstring
Expand Down
0