Show More
@@ -312,6 +312,7 b' Currently the magic system has the following functions:""",' | |||
|
312 | 312 | prun : run code using the Python profiler |
|
313 | 313 | (:meth:`~IPython.core.magics.execution.ExecutionMagics.prun`) |
|
314 | 314 | """ |
|
315 | warn("%profile is now deprecated. Please use get_ipython().profile instead.") | |
|
315 | 316 | from IPython.core.application import BaseIPythonApplication |
|
316 | 317 | if BaseIPythonApplication.initialized(): |
|
317 | 318 | print(BaseIPythonApplication.instance().profile) |
@@ -113,8 +113,8 b' class ProfileStartupTest(TestCase):' | |||
|
113 | 113 | |
|
114 | 114 | @dec.skipif(win32_without_pywin32(), "Test requires pywin32 on Windows") |
|
115 | 115 | def test_startup_ipy(self): |
|
116 |
self.init('00-start.ipy', '% |
|
|
117 |
self.validate(' |
|
|
116 | self.init('00-start.ipy', '%xmode plain\n', '') | |
|
117 | self.validate('Exception reporting mode: Plain') | |
|
118 | 118 | |
|
119 | 119 | |
|
120 | 120 | def test_list_profiles_in(): |
General Comments 0
You need to be logged in to leave comments.
Login now