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

Method test_abc

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

Source from the content-addressed store, hash-verified

376 self.check_ns(['x=1; y=2'], dict(x=1, y=2))
377
378 def test_abc(self):
379 self.check_ns(['if 1:','a=1','b=2','c=3'], dict(a=1, b=2, c=3))
380
381 def test_multi(self):
382 self.check_ns(['x =(1+','1+','2)'], dict(x=4))

Callers

nothing calls this directly

Calls 1

check_nsMethod · 0.95

Tested by

no test coverage detected