gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: Fix dht python test failure


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: Fix dht python test failure with python3.7
Date: Wed, 13 Feb 2019 15:19:37 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new aaca81619 Fix dht python test failure with python3.7
aaca81619 is described below

commit aaca8161989c5af3f46251cd3e8d5fb531a5cb01
Author: ng0 <address@hidden>
AuthorDate: Wed Feb 13 14:19:16 2019 +0000

    Fix dht python test failure with python3.7
---
 src/dht/test_dht_tools.py.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dht/test_dht_tools.py.in b/src/dht/test_dht_tools.py.in
index 05582cbd0..38a9f9622 100644
--- a/src/dht/test_dht_tools.py.in
+++ b/src/dht/test_dht_tools.py.in
@@ -124,7 +124,7 @@ time.sleep(1)
 
 print("TEST: Testing get...", end='')
 rc, stdo, stde = r_get(['-k', 'testkey', '-T', '50 ms', '-t', '8'], 
want_stdo=True, failer=end_arm_failer)
-stdo = stdo.replace('\r', '').splitlines()
+stdo = stdo.decode('utf-8').replace('\r', '').splitlines()
 expect = "Result 0, type 8:\ntestdata".splitlines()
 if len(stdo) != 2 or len(expect) != 2 or stdo[0] != expect[0] or stdo[1] != 
expect[1]:
     fail("output `{}' differs from expected `{}'".format(stdo, expect))

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]