code: def test_num_int(self, aug_toks):
      for num in [1, 3]:
          new_aug_toks = transforms.substitute_word_synonyms(
              aug_toks, num=num
          )
          assert isinstance(new_aug_toks, list)
          assert len(new_aug_toks) == len(aug_toks)
          assert all(
              isinstance(aug_tok, AugTok) for aug_tok in new_aug_toks
          )
          assert any(
              aug_tok.text != new_aug_tok.text
              for aug_tok, new_aug_tok in zip(aug_toks, new_aug_toks)
          )
  
imports: from textacy.augmentation import transforms
  from textacy.augmentation import utils
  from textacy.types import AugTok
  import pytest
label_desc: Use image node_id 2 for calling the TestSubstituteWordSynonyms obj's underlying member method code with example usage: obj.test_num_int(aug_toks) without return types