MCPcopy Index your code
hub / github.com/python/cpython / test_get

Method test_get

Lib/test/test_pyrepl/test_eventqueue.py:29–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 raise NotImplementedError()
28
29 def test_get(self):
30 eq = self.make_eventqueue()
31 event = Event("key", "a", b"a")
32 eq.insert(event)
33 self.assertEqual(eq.get(), event)
34
35 def test_empty(self):
36 eq = self.make_eventqueue()

Callers

nothing calls this directly

Calls 5

make_eventqueueMethod · 0.95
EventClass · 0.90
insertMethod · 0.45
assertEqualMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected