def test_exception(): with pytest.raises(sm.SislException): raise sm.SislException('This is an error')
def test_exception(): raise sm.SislException('This is an error')