def test_timeout(self):
        def check(result):
            self.assertIsInstance(result, errors.Failure)
            self.assert_(str(result.value).startswith("Timeout"),
                    result.value % "Wrong error, got: %s")

        d = self.startQuery(self.config)
        d.addBoth(check)
        return d
dataset/ETHPy150Open marineam/nagcat/python/nagcat/unittests/queries/test_oracle.py/TimeoutConnectionTestCase.test_timeout/swapped operands of `%`