code: def test_wrong_inputs():
      with pytest.raises(
          ValueError, match=r"ngram order must be greater than zero"
      ):
          Bleu(ngram=0)
  
      with pytest.raises(ValueError, match=r"Smooth is not valid"):
          Bleu(smooth="fake")
  
      with pytest.raises(
          ValueError,
          match=r"nb of candidates should be equal to nb of reference lists",
      ):
          Bleu()._corpus_bleu(references=[[0], [0]], candidates=[[0]])
  
      with pytest.raises(NotComputableError):
          Bleu().compute()
  
      with pytest.raises(
          ValueError, match='Average must be either "macro" or "micro"'
      ):
          Bleu(average="macros")
  
imports: import os
  import warnings
  from collections import Counter
  import pytest
  import torch
  from nltk.translate.bleu_score import corpus_bleu, sentence_bleu, SmoothingFunction
  import ignite.distributed
  from ignite.exceptions import NotComputableError
  from ignite.metrics.nlp import Bleu
  from .None import CorpusForTest
label_desc: Use image node_id 1 for calling a global function with example usage: test_wrong_inputs() without return types