MCPcopy Create free account
hub / github.com/NatLabRockies/rdtools / assert_isinstance

Function assert_isinstance

rdtools/test/conftest.py:15–16  ·  view source on GitHub ↗
(obj, klass)

Source from the content-addressed store, hash-verified

13
14
15def assert_isinstance(obj, klass):
16 assert isinstance(obj, klass), f'got {type(obj)}, expected {klass}'
17
18
19def assert_warnings(messages, record):

Calls

no outgoing calls

Tested by

no test coverage detected