code: def test_bad_args(self):
      for num in [-1, 10, -0.1, 2.0, [0.5, 0.5]]:
          with pytest.raises(ValueError):
              _ = augmenter.Augmenter(
                  [transforms.substitute_word_synonyms], num=num
              )
      for tfs in [[], ["not callable obj"]]:
          with pytest.raises((ValueError, TypeError)):
              _ = augmenter.Augmenter(tfs, num=1)
  
file_path: textacy/tests/augmentation/test_augmenter.py
imports: import functools
  import pytest
  from spacy.tokens import Doc
  from textacy.augmentation import augmenter, transforms
label_desc: Use image node_id 1 for calling the TestAugmenter obj's underlying member method code with example usage: obj.test_bad_args() without return types