Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(3) | Call(3) | Derive(0) | Import(0)
src/p/y/python-trezor-HEAD/tests/test_protect_call.py python-trezor(Download)
msg = "Pin delay expected to be at least %s seconds, got %s" % (expected, got) print msg self.assertLessEqual(expected, got, msg) for attempt in range(1, 4):
src/p/y/python-trezor-HEAD/tests/test_bip32_speed.py python-trezor(Download)
expected = (depth + 1) * 0.26 print "DEPTH", depth, "EXPECTED DELAY", expected, "REAL DELAY", delay self.assertLessEqual(delay, expected) def test_private_ckd(self):
expected = (depth + 1) * 0.26 print "DEPTH", depth, "EXPECTED DELAY", expected, "REAL DELAY", delay self.assertLessEqual(delay, expected) if __name__ == '__main__':