##// END OF EJS Templates
Manage and propagate argv correctly....
Manage and propagate argv correctly. All Application objects should take argv in their constructor, akin to how the standard signature of C programs is "main(int argc, char *argv)". This makes it possible to initialize them from code with different command-line options (otherwise, they end up directly accessing sys.argv[1:] via argparse).

File last commit:

r2035:878e4e25
r2391:1d7c11a4
Show More
test_imports.py
14 lines | 307 B | text/x-python | PythonLexer
Brian Granger
background_jobs.py => lib/backgroundjob.py and imports updated.
r2011 #!/usr/bin/env python
# encoding: utf-8
def test_import_backgroundjobs():
from IPython.lib import backgroundjobs
Brian Granger
deep_reload.py =? lib/deepreload.py and imports updated.
r2016 def test_import_deepreload():
from IPython.lib import deepreload
Brian Granger
demo.py => lib/demo.py and imports updated.
r2017 def test_import_demo():
Brian Granger
irunner.py => lib/irunner.py and imports updated.
r2035 from IPython.lib import demo
def test_import_irunner():
from IPython.lib import demo