def ensureMinimal(requiredVersion):
 if (_versionTuple(psychopy.__version__) < _versionTuple(requiredVersion)):
  msg = _translate('Required minimal version `{}` not met ({}).')
  raise RuntimeError(msg.format(requiredVersion, psychopy.__version__))
 return psychopy.__version__

def ensureMinimal ( requiredVersion ) : if ( _versionTuple ( psychopy . __version__ ) < _versionTuple ( requiredVersion ) ) : msg = _translate ( 'Required minimal version `{}` not met ({}).' ) raise RuntimeError ( msg . format ( requiredVersion , psychopy . __version__ ) ) return psychopy . __version__
raise a runtimeerror if the current version < requiredversion .