code: def test_wrong_order(self):
      a = torch.ones(25, 300)
      b = torch.ones(22, 300)
      b_a = rnn_utils.pad_sequence([b, a])
      self.assertRaises(
          RuntimeError,
          lambda: rnn_utils.pack_padded_sequence(
              b_a, [22, 25], enforce_sorted=True
          ),
      )
  
imports: import itertools
  import random
  import torch
  from torch.testing._internal.common_utils import TestCase, run_tests
  import torch.nn.utils.rnn
label_desc: Use image node_id 5 for calling the PackedSequenceTest obj's underlying member method code with example usage: obj.test_wrong_order() without return types