code: def test_jsdlink_args():
      with pytest.raises(TypeError):
          jsdlink()
      w1 = ToggleButton()
      with pytest.raises(TypeError):
          jsdlink((w1, "value"))
  
      w2 = ToggleButton()
      jsdlink((w1, "value"), (w2, "value"))
  
      with pytest.raises(TypeError):
          jsdlink((w1, "value"), (w2, "nosuchtrait"))
  
      with pytest.raises(TypeError):
          jsdlink((w1, "value"), (w2, "traits"))
  
imports: import pytest
  from ipywidgets.widgets import jslink, jsdlink, ToggleButton
  from .utils import setup, teardown
label_desc: Use image node_id 2 for calling a global function with example usage: test_jsdlink_args() without return types