code: def deploy_and_set_registry(self) -> Address:
          
          self.registry = VyperReferenceRegistry.deploy_new_instance(self.web3)
          return to_checksum_address(self.registry.address)
docs: Returns the address of a freshly deployed instance of the `vyper registry
          <https://github.com/ethpm/py-ethpm/blob/master/ethpm/assets/vyper_registry/registry.vy>`__,
          and sets the newly deployed registry as the active registry on ``web3.pm.registry``.
  
          To tie your registry to an ENS name, use web3's ENS module, ie.
  
          .. code-block:: python
  
             w3.ens.setup_address(ens_name, w3.pm.registry.address)