return Config object and remaining arguments from parsing
command line arguments.
def parse(cls, args):
origin: type
where:
changes in __dict__ after execution:
function source:
def parse(cls, args):
""" return Config object and remaining arguments from parsing
command line arguments.
"""
configpaths = guessconfigpaths(*getanchorpaths(args))
config = bootstrapconfig(configpaths)
config._origargs = args
cmdlineoption, remaining = config._parser.parse_args(args)
for name, value in vars(cmdlineoption).items():
setattr(config.option, name, value)
fixoptions(config.option)
if not remaining:
remaining.append(py.std.os.getcwd())
config.remaining = remaining
return config, remaining
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_reporter.py
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_lsession.py
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_reporter.py
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_reporter.py
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_config.py
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_reporter.py
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_lsession.py
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_master.py
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_lsession.py
called in /home/johnny/projects/merlinux/py/dist/py/documentation/test_conftest.py
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_config.py
traceback test.Config.parse.10
called in /home/johnny/projects/merlinux/py/dist/py/documentation/example/pytest/test_failures.py
traceback test.Config.parse.11
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_lsession.py
traceback test.Config.parse.12
called in /home/johnny/projects/merlinux/py/dist/py/documentation/test_conftest.py
traceback test.Config.parse.13
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_lsession.py
traceback test.Config.parse.14
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_lsession.py
traceback test.Config.parse.15
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_reporter.py
traceback test.Config.parse.16
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_lsession.py
traceback test.Config.parse.17
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_lsession.py
traceback test.Config.parse.18
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_lsession.py
traceback test.Config.parse.19
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/testing/test_reporter.py