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

Method assertNotIn

Lib/unittest/case.py:807–812  ·  view source on GitHub ↗

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

(self, member, container, msg=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

testAssertInMethod · 0.80
test_mydelMethod · 0.80
test_empty_optionsMethod · 0.80
test_simple_metadataMethod · 0.80
test_providesMethod · 0.80
test_requiresMethod · 0.80
test_obsoletesMethod · 0.80
test_package_dataMethod · 0.80

Calls 3

failMethod · 0.95
_formatMessageMethod · 0.95
safe_reprFunction · 0.85

Tested by 10

testAssertInMethod · 0.64
test_mydelMethod · 0.64
test_empty_optionsMethod · 0.64
test_simple_metadataMethod · 0.64
test_providesMethod · 0.64
test_requiresMethod · 0.64
test_obsoletesMethod · 0.64
test_package_dataMethod · 0.64