MCPcopy
hub / github.com/zeromq/pyzmq / test_instance_subclass_first

Method test_instance_subclass_first

tests/test_future.py:37–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 s.close()
36
37 def test_instance_subclass_first(self):
38 actx = self.Context.instance()
39 ctx = zmq.Context.instance()
40 ctx.term()
41 actx.term()
42 assert type(ctx) is zmq.Context
43 assert type(actx) is self.Context
44
45 def test_instance_subclass_second(self):
46 ctx = zmq.Context.instance()

Callers

nothing calls this directly

Calls 2

instanceMethod · 0.45
termMethod · 0.45

Tested by

no test coverage detected