def assert_not_4xx(self, response):
        code = response.status_code
        self.assertFalse(str(code).startswith('4'),
            code % "%d received, expecting a non-4xx code")

    # test rules
dataset/ETHPy150Open ahri/flask-snooze/tests/test_snooze_sqlalchemyendpoint.py/TestSnoozeHttp.assert_not_4xx/swapped operands of `%`