code: def test_duplicate():
      from sympy.core.function import BadSignatureError
  
      # test coverage for line 95 in conditionset.py, check for duplicates in symbols
      dup = symbols("a,a")
      raises(BadSignatureError, lambda: ConditionSet(dup, x < 0))
  
imports: from sympy.core.expr import unchanged
  from sympy.sets import ConditionSet, Intersection, FiniteSet, EmptySet, Union, Contains, ImageSet
  from sympy.sets.sets import SetKind
  from sympy.core.function import Function, Lambda
  from sympy.core.mod import Mod
  from sympy.core.kind import NumberKind
  from sympy.core.numbers import oo, pi
  from sympy.core.relational import Eq, Ne
  from sympy.core.singleton import S
  from sympy.core.symbol import Symbol, symbols
  from sympy.functions.elementary.complexes import Abs
  from sympy.functions.elementary.trigonometric import asin, sin
  from sympy.logic.boolalg import And
  from sympy.matrices.dense import Matrix
  from sympy.matrices.expressions.matexpr import MatrixSymbol
  from sympy.sets.sets import Interval
  from sympy.testing.pytest import raises, warns_deprecated_sympy
label_desc: Use image node_id 14 for calling a global function with example usage: test_duplicate() without return types