[Pkg-bitcoin-commits] [python-quamash] 182/269: Apply style fixes

Jonas Smedegaard dr at jones.dk
Fri Nov 24 11:26:30 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 23a052b2b70af427e697b742a9d85313f180fd84
Author: Jonas Wielicki <j.wielicki at sotecware.net>
Date:   Fri Jan 9 22:56:06 2015 +0100

    Apply style fixes
---
 tests/test_qeventloop.py | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/tests/test_qeventloop.py b/tests/test_qeventloop.py
index 411f3ff..c975a78 100644
--- a/tests/test_qeventloop.py
+++ b/tests/test_qeventloop.py
@@ -523,7 +523,6 @@ def test_regression_bug13(loop, sock_pair):
 	assert result3 == b'3'
 
 
-
 def test_add_reader_replace(loop, sock_pair):
 	c_sock, s_sock = sock_pair
 	callback_invoked = asyncio.Future()
@@ -566,8 +565,9 @@ def test_add_reader_replace(loop, sock_pair):
 	client_done = asyncio.async(client_coro())
 	server_done = asyncio.async(server_coro())
 
-	both_done = asyncio.wait([server_done, client_done],
-				 return_when=asyncio.FIRST_EXCEPTION)
+	both_done = asyncio.wait(
+		[server_done, client_done],
+		return_when=asyncio.FIRST_EXCEPTION)
 	loop.run_until_complete(asyncio.wait_for(both_done, timeout=0.1))
 	assert not called1
 	assert called2
@@ -606,8 +606,9 @@ def test_add_writer_replace(loop, sock_pair):
 
 	client_done = asyncio.async(client_coro())
 
-	both_done = asyncio.wait([client_done],
-				 return_when=asyncio.FIRST_EXCEPTION)
+	both_done = asyncio.wait(
+		[client_done],
+		return_when=asyncio.FIRST_EXCEPTION)
 	loop.run_until_complete(asyncio.wait_for(both_done, timeout=0.1))
 	assert not called1
 	assert called2

-- 
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