code: def test_zero_div():
      psnr = PSNR(1.0)
      with pytest.raises(
          NotComputableError,
          match="PSNR must have at least one example before it can be computed",
      ):
          psnr.compute()
  
file_path: ignite/tests/ignite/metrics/test_psnr.py
imports: import numpy
  import pytest
  import torch
  from skimage.metrics import peak_signal_noise_ratio
  import ignite.distributed
  from ignite.engine import Engine
  from ignite.exceptions import NotComputableError
  from ignite.metrics import PSNR
  from ignite.utils import manual_seed
label_desc: Use image node_id 1 for calling a global function with example usage: test_zero_div() without return types