

def test_stepBy(self, spinbox):
    spinbox.setMinimum(0)
    spinbox.setMaximum(10)
    spinbox.setValue(0)
    spinbox.stepBy(1)
    assert (spinbox.value() == 1)
    spinbox.stepBy((- 1))
    assert (spinbox.value() == 0)
    spinbox.setMinimum(0)
    spinbox.setMaximum(10)
    spinbox.setValue(0)
    spinbox.stepBy((- 1))
    assert (self.value() == 0)
    spinbox.setValue(10)
    spinbox.stepBy(1)
    assert (spinbox.value() == 10)

dataset/ETHPy150Open datalyze-solutions/pandas-qt/tests/test_BigIntSpinbox.py TestClass.test_stepBy/VarMisuse@105/129 `spinbox`->`self`