code: def test_length_penalty_int_input():
      length = 1
      length_penalty = sockeye.beam_search.LengthPenalty(0.2, 5.0)
      expected_lp = [6**0.2 / 6**0.2]
      assert onp.isclose(length_penalty(length), expected_lp)
  
imports: from typing import List, Optional
  from typing import Tuple
  import numpy
  import pytest
  import torch
  import numpy
  import sockeye.beam_search
  import sockeye.constants
  import sockeye.lexicon
  import sockeye.utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_length_penalty_int_input() without return types