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

Method test_main_path2

IPython/testing/tests/test_tools.py:98–105  ·  view source on GitHub ↗

Test with only stdout results, expecting windows line endings.

(self)

Source from the content-addressed store, hash-verified

96 tt.ipexec_validate(self.fname, out)
97
98 def test_main_path2(self):
99 """Test with only stdout results, expecting windows line endings.
100 """
101 self.mktmp("print('A')\n"
102 "print('B')\n"
103 )
104 out = "A\r\nB"
105 tt.ipexec_validate(self.fname, out)
106
107 def test_exception_path(self):
108 """Test exception path in exception_validate.

Callers

nothing calls this directly

Calls 1

mktmpMethod · 0.80

Tested by

no test coverage detected