##// END OF EJS Templates
Simplify options handling code by using argparse argument_default....
Simplify options handling code by using argparse argument_default. The argparse.ArgumentParser class supports an instance-wide default, so we can set that once instead of having every argument configured with the same default always.

File last commit:

r2052:321c2741
r2428:f8bf80c5
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