MCPcopy Index your code
hub / github.com/ipython/ipython / test_main_path

Method test_main_path

tests/test_tools.py:89–93  ·  view source on GitHub ↗

Test with only stdout results.

(self)

Source from the content-addressed store, hash-verified

87
88class Test_ipexec_validate(tt.TempFileMixin):
89 def test_main_path(self):
90 """Test with only stdout results."""
91 self.mktmp("print('A')\n" "print('B')\n")
92 out = "A\nB"
93 tt.ipexec_validate(self.fname, out)
94
95 def test_main_path2(self):
96 """Test with only stdout results, expecting windows line endings."""

Callers

nothing calls this directly

Calls 1

mktmpMethod · 0.80

Tested by

no test coverage detected