code: def test_exception_different_email(worker):
      root_client = worker.root_client
  
      root_client.register(
          name="sheldon",
          email="sheldon@caltech.edu",
          password="bazinga",
          password_verify="bazinga",
      )
  
      root_client.register(
          name="leonard",
          email="leonard@princeton.edu",
          password="penny",
          password_verify="penny",
      )
  
      ds_sheldon = sy.login(
          node=worker, email="sheldon@caltech.edu", password="bazinga"
      )
  
      ds_leonard = sy.login(
          node=worker, email="leonard@princeton.edu", password="penny"
      )
  
      with pytest.raises(ValidationError):
          sy.Project(
              name="My Cool Project",
              description="My Cool Description",
              members=[ds_sheldon, ds_leonard],
          )
  
file_path: PySyft/packages/syft/tests/syft/project/project_test.py
imports: from pydantic import ValidationError
  import pytest
  import syft
  from syft.service.project.project import Project
label_desc: Use image node_id 3 for calling a global function with example usage: test_exception_different_email(worker) without return types