[Pkg-bitcoin-commits] [python-quamash] 243/269: xfail on python 3.3

Jonas Smedegaard dr at jones.dk
Fri Nov 24 11:26:37 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 18414a1543a7c0de4a194d302c768a4286901be8
Author: Mark Harviston <Mark.T.Harviston.-ND at disney.com>
Date:   Thu Aug 20 10:22:17 2015 -0700

    xfail on python 3.3
---
 tests/test_qeventloop.py | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/tests/test_qeventloop.py b/tests/test_qeventloop.py
index 004d4b4..89b18ac 100644
--- a/tests/test_qeventloop.py
+++ b/tests/test_qeventloop.py
@@ -690,15 +690,13 @@ def test_scheduling(loop, sock_pair):
 	loop.run_until_complete(cb_called)
 
 
- at pytest.mark.parametrize(
-	'use_quamash', [True, False]
+ at pytest.mark.xfail(
+	'sys.version_info < (3,4)',
+	reason="Doesn't work on python older than 3.4",
 )
-def test_exception_handler(use_quamash, loop):
+def test_exception_handler(loop):
 	handler_called = False
 	coro_run = False
-	if not use_quamash:
-		loop = asyncio.new_event_loop()
-		asyncio.set_event_loop(loop)
 	loop.set_debug(True)
 
 	@asyncio.coroutine

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