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

Method test

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

Source from the content-addressed store, hash-verified

112 sys.stdin = fake_stdin
113
114 def test(self):
115 # Verify that if sys.stdin has no 'encoding' attribute we do the right
116 # thing
117 enc = isp.get_input_encoding()
118 self.assertEqual(enc, 'ascii')
119
120 def tearDown(self):
121 sys.stdin = self.old_stdin

Callers 1

test_var_expand_selfMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected