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

Method test_xy

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

Source from the content-addressed store, hash-verified

373 self.check_ns(['if 1:', 'x=2'], dict(x=2))
374
375 def test_xy(self):
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))

Callers

nothing calls this directly

Calls 1

check_nsMethod · 0.95

Tested by

no test coverage detected