def load_pytest_conf(path, parser):
 namespace = {}
 exec open(path, 'rb').read() in namespace
 if ('update_parser' in namespace):
  namespace['update_parser'](parser)
 return namespace.get('CustomPyTester', PyTester)

def load_pytest_conf ( path , parser ) : namespace = { } exec open ( path , 'rb' ) . read ( ) in namespace if ( 'update_parser' in namespace ) : namespace [ 'update_parser' ] ( parser ) return namespace . get ( 'CustomPyTester' , PyTester )
loads a pytestconf .