Skip to content

Commit

Permalink
MAINT: Add _exception_on_warning to MockApp (#586)
Browse files Browse the repository at this point in the history
MockApp in test suite is now breaking due to the absence
of a private _exception_on_warning attribute.

Fix by explicitly adding to the MockApp.
  • Loading branch information
rossbar authored Oct 17, 2024
1 parent bf210cc commit 1338660
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions numpydoc/tests/test_numpydoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def __init__(self):
self.verbosity = 2
self._warncount = 0
self.warningiserror = False
self._exception_on_warning = False


def test_mangle_docstrings_basic():
Expand Down

0 comments on commit 1338660

Please sign in to comment.