def test_stepEnabled(self, spinbox):
        assert spinbox.StepUpEnabled
        assert spinbox.StepDownEnabled
        assert spinbox.stepEnabled() == spinbox.StepUpEnabled | spinbox.StepDownEnabled

        spinbox.setMinimum(0)
        spinbox.setMaximum(10)
        spinbox._lineEdit.setText(str(-1))
        assert spinbox.stepEnabled() == spinbox.StepUpEnabled
        spinbox._lineEdit.setText(str(11))
        assert spinbox.stepEnabled() is not spinbox.StepDownEnabled
dataset/ETHPy150Open datalyze-solutions/pandas-qt/tests/test_BigIntSpinbox.py/TestClass.test_stepEnabled/operator `==` -> `is not`