Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kitware/VTK
/ check_error
Method
check_error
Wrapping/Python/vtkmodules/test/ErrorObserver.py:29–30 ·
view source on GitHub ↗
(self, expect)
Source
from the content-addressed store, hash-verified
27
self.reset()
28
29
def
check_error(self, expect):
30
self._check(self.saw_error, self.error_message, expect,
'Error'
)
31
32
def
check_warning(self, expect):
33
self._check(self.saw_warning, self.warning_message, expect,
'Warning'
)
Callers
1
testErrorCheck
Method · 0.45
Calls
1
_check
Method · 0.95
Tested by
1
testErrorCheck
Method · 0.36