[Pkg-bitcoin-commits] [python-quamash] 68/269: reduce sleep time, it doesn't need to be slow to test adequately.
Jonas Smedegaard
dr at jones.dk
Fri Nov 24 11:26:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository python-quamash.
commit 2808641960bbf0857f21fb2c34140a0fa310d924
Author: Mark Harviston <mark.harviston at gmail.com>
Date: Thu Jul 10 21:23:59 2014 -0700
reduce sleep time, it doesn't need to be slow to test adequately.
---
quamash/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/quamash/__init__.py b/quamash/__init__.py
index ef30d0e..68c08d2 100644
--- a/quamash/__init__.py
+++ b/quamash/__init__.py
@@ -187,9 +187,9 @@ class QEventLoop(_baseclass):
>>>
>>> @asyncio.coroutine
... def xplusy(x, y):
- ... yield from asyncio.sleep(2)
+ ... yield from asyncio.sleep(.1)
... assert x + y == 4
- ... yield from asyncio.sleep(2)
+ ... yield from asyncio.sleep(.1)
>>>
>>> with QEventLoop(app) as loop:
... loop.run_until_complete(xplusy(2,2))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git
More information about the Pkg-bitcoin-commits
mailing list