Skip to content
Merged
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
9 changes: 3 additions & 6 deletions slycot/tests/test_mb.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,9 @@ def test_mb05md(self):
# TODO: move this to pytest recwarn together with the whole class
@unittest.skipIf(sys.version < "3", "no assertWarns in old Python")
def test_mb05md_warning(self):
""" Check that the correct warning is raised from docstring"""
A = np.array([[5, 4, 2, 1],
[0, 1, -1, -1],
[-1, -1, 3, 0],
[1, 1, -1, 2]])
delta = 0.
"""Check that the correct warning is raised from docstring"""
A = np.diag([3., 3., 3., 3.]) + np.diag([1., 1., 1.], k=1)
delta = 0.1

with self.assertWarns(SlycotResultWarning,
msg="\n"
Expand Down