##// 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:

r2052:321c2741
r2391:1d7c11a4
Show More
test_imports.py
38 lines | 882 B | text/x-python | PythonLexer
#!/usr/bin/env python
# encoding: utf-8
def test_import_coloransi():
from IPython.utils import coloransi
def test_import_DPyGetOpt():
from IPython.utils import DPyGetOpt
def test_import_generics():
from IPython.utils import generics
def test_import_genutils():
from IPython.utils import genutils
def test_import_ipstruct():
from IPython.utils import ipstruct
def test_import_platutils():
from IPython.utils import platutils
def test_import_PyColorize():
from IPython.utils import PyColorize
def test_import_rlineimpl():
from IPython.utils import rlineimpl
def test_import_strdispatch():
from IPython.utils import strdispatch
def test_import_upgradedir():
from IPython.utils import upgradedir
def test_import_wildcard():
from IPython.utils import wildcard
def test_import_winconsole():
from IPython.utils import winconsole