code: def test_SpinBox_defaults():
      sb = pg.SpinBox()
      assert sb.opts["decimals"] == 6
      assert sb.opts["int"] is False
  
imports: import pytest
  import pyqtgraph
label_desc: Use image node_id 1 for calling a global function with example usage: test_SpinBox_defaults() without return types