code: def test_antidivisors():
      assert antidivisors(-1) == []
      assert antidivisors(-3) == [2]
      assert antidivisors(14) == [3, 4, 9]
      assert antidivisors(237) == [2, 5, 6, 11, 19, 25, 43, 95, 158]
      assert antidivisors(12345) == [
          2,
          6,
          7,
          10,
          30,
          1646,
          3527,
          4938,
          8230,
      ]
      assert antidivisors(393216) == [262144]
      assert sorted(x for x in antidivisors(3 * 5 * 7, 1)) == [
          2,
          6,
          10,
          11,
          14,
          19,
          30,
          42,
          70,
      ]
      assert antidivisors(1) == []
      assert type(antidivisors(2, generator=True)) is not list
  
imports: from sympy.concrete.summations import summation
  from sympy.core.containers import Dict
  from sympy.core.mul import Mul
  from sympy.core.power import Pow
  from sympy.core.singleton import S
  from sympy.core.symbol import Symbol
  from sympy.functions.combinatorial.factorials import factorial
  from sympy.core.numbers import Integer, Rational
  from sympy.external.gmpy import gcd
  from sympy.ntheory import totient, factorint, primefactors, divisors, nextprime, primerange, pollard_rho, perfect_power, multiplicity, multiplicity_in_factorial, divisor_count, primorial, pollard_pm1, divisor_sigma, factorrat, reduced_totient
  from sympy.ntheory.factor_ import smoothness, smoothness_p, proper_divisors, antidivisors, antidivisor_count, core, udivisors, udivisor_sigma, udivisor_count, proper_divisor_count, primenu, primeomega, mersenne_prime_exponent, is_perfect, is_abundant, is_deficient, is_amicable, dra, drm, _perfect_power
  from sympy.testing.pytest import raises, slow
  from sympy.utilities.iterables import capture
label_desc: Use image node_id 21 for calling a global function with example usage: test_antidivisors() without return types