    def resolving(self, ref):
        """
        Resolve the given ``ref`` and enter its resolution scope.

        Exits the scope on exit of this context manager.

        Arguments:

            ref (str):

                The reference to resolve

        """
        url, resolved = self.resolve(ref)
        self.push_scope(url)
        try:
            yield resolved
        finally:
            self.pop_scope()
Resolve the given ``ref`` and enter its resolution scope.

Exits the scope on exit of this context manager.

Arguments:

ref (str):

The reference to resolve
jsonschema/validators.py