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

Add comment for future developers #46

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion news/test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

**Fixed:**

* Surpress `RuntimeWarning` in tests for the `applycutoff` function
* Surpress the `RuntimeWarning` in tests for the `applycutoff` function

**Security:**

Expand Down
1 change: 1 addition & 0 deletions tests/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def test_applycutoff_range2(self):
self.test_gui.qmaxentry.insert(0, "35")

# when
# surpressed RuntimeWarning so warning isn't generated when test encounters slice of all NaNs
with warnings.catch_warnings():
warnings.simplefilter("ignore", category=RuntimeWarning)
self.test_gui.applycutoff()
Expand Down
Loading