MCPcopy Create free account
hub / github.com/ipython/ipython / test_push2

Method test_push2

IPython/core/tests/test_inputsplitter.py:246–251  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

244 self.assertEqual(isp.push('x=1'), True)
245
246 def test_push2(self):
247 isp = self.isp
248 self.assertEqual(isp.push('if 1:'), False)
249 for line in [' x=1', '# a comment', ' y=2']:
250 print(line)
251 self.assertEqual(isp.push(line), True)
252
253 def test_push3(self):
254 isp = self.isp

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected