Skip to content

Commit

Permalink
remove warnings from whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
olaurino committed Jul 6, 2017
1 parent 6c8b45e commit b596baf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions sherpa/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ def pytest_addoption(parser):
],
RuntimeWarning:
[r"invalid value encountered in sqrt",
# The following is added for the test_can_use_swift_data
# test in sherpa/astro/tests/test_astro_data_swift_unit.py;
# as the test checks this warning is created it would be useful
# if the test could eitehr clear the warnings, or tell this
# fixture to ignore it, rather than making it a global flag
r"divide by zero encountered in divide",
],
}

Expand All @@ -94,7 +88,6 @@ def pytest_addoption(parser):
],
RuntimeWarning:
[r"invalid value encountered in sqrt",
r"divide by zero encountered in true_divide",
],

}
Expand Down

0 comments on commit b596baf

Please sign in to comment.