MCPcopy Create free account
hub / github.com/bpython/bpython / test_iter

Method test_iter

bpython/test/test_repl.py:108–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self.assertTrue(self.matches_iterator)
107
108 def test_iter(self):
109 slice = islice(self.matches_iterator, 0, 9)
110 self.assertEqual(list(slice), self.matches * 3)
111
112 def test_current(self):
113 with self.assertRaises(ValueError):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected