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

Method run_tmpfile

IPython/core/tests/test_run.py:172–176  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

170 self.mktmp(content)
171
172 def run_tmpfile(self):
173 _ip = get_ipython()
174 # This fails on Windows if self.tmpfile.name has spaces or "~" in it.
175 # See below and ticket https://bugs.launchpad.net/bugs/366353
176 _ip.magic('run %s' % self.fname)
177
178 def run_tmpfile_p(self):
179 _ip = get_ipython()

Callers 2

test_builtins_idMethod · 0.95
test_builtins_typeMethod · 0.95

Calls 2

get_ipythonFunction · 0.50
magicMethod · 0.45

Tested by

no test coverage detected