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

Method test_run_profile

IPython/core/tests/test_run.py:204–207  ·  view source on GitHub ↗

Test that the option -p, which invokes the profiler, do not crash by invoking execfile

( self )

Source from the content-addressed store, hash-verified

202 nt.assert_equal(type(_ip.user_ns['__builtins__']),type(sys))
203
204 def test_run_profile( self ):
205 """Test that the option -p, which invokes the profiler, do not
206 crash by invoking execfile"""
207 self.run_tmpfile_p()
208
209 def test_run_debug_twice(self):
210 # https://github.com/ipython/ipython/issues/10028

Callers

nothing calls this directly

Calls 1

run_tmpfile_pMethod · 0.95

Tested by

no test coverage detected