def test_singleStep(self, spinbox):
        assert spinbox.singleStep() == 1

        assert spinbox.setSingleStep(10) == 10
        assert spinbox.setSingleStep(-10) == 10
        with pytest.raises(TypeError) as excinfo:
            spinbox.setSingleStep('')
            spinbox.setSingleStep(0.1212)
        assert "int" in str(excinfo.value)

        assert spinbox.setSingleStep(0) == 0
dataset/ETHPy150Open datalyze-solutions/pandas-qt/tests/test_BigIntSpinbox.py/TestClass.test_singleStep/original