def _reparse(self, args): |
""" this is used from tests that want to re-invoke parse(). """ |
|
global config_per_process |
oldconfig = py.test.config |
try: |
config_per_process = py.test.config = Config() |
-> config_per_process.parse(args) |
return config_per_process |
finally: |
config_per_process = py.test.config = oldconfig |