MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / assertIs

Method assertIs

Lib/unittest/case.py:814–819  ·  view source on GitHub ↗

Just like self.assertTrue(a is b), but with a nicer default message.

(self, expr1, expr2, msg=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 3

failMethod · 0.95
_formatMessageMethod · 0.95
safe_reprFunction · 0.85

Tested by 15

test_assertRaisesMethod · 0.64
testAssertIsMethod · 0.64
testBufferOutputOffMethod · 0.64
test_mydelMethod · 0.64
test_getMethod · 0.64
test_good_entityMethod · 0.64
test_showwarningsMethod · 0.64