MCPcopy Create free account
hub / github.com/ActiveState/code / Foo

Class Foo

recipes/Python/576932_Sets_custom_equalityuniqueness/recipe-576932.py:168–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166from unittest import TestCase
167
168class Foo(object):
169 def __init__(self, name): self.name = name
170 def __repr__(self): return "%s(%r)" % (type(self).__name__, self.name)
171
172
173class KeyedSetTestCase(TestCase):

Callers 3

setUpMethod · 0.70
test_addremoveMethod · 0.70
test_eq_hashMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_addremoveMethod · 0.56
test_eq_hashMethod · 0.56