def add_environment(self, environ):
        """
        Updates the environment dictionary with the given one.

        Existing entries are overridden by the given ones

        :param environ: New environment variables
        """
        if isinstance(environ, dict):
            self._environment.update(environ)
Updates the environment dictionary with the given one.

        Existing entries are overridden by the given ones

        :param environ: New environment variables