[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Fix py3 compatibility issue with code moved in previous commit



commit 429304650d2f942514240e9e446db16054c93984
Author: Dave Rolek <dmr-x@xxxxxxxxxx>
Date:   Wed Jul 11 18:56:56 2018 +0000

    Fix py3 compatibility issue with code moved in previous commit
    
    This could've been directly fixed in the previous commit, but it was
    such a minor change that doing so might've hidden it, so it's been
    separated out for clarity.
---
 test/unit/client/cell.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/client/cell.py b/test/unit/client/cell.py
index 2e5c498a..e42d7e7a 100644
--- a/test/unit/client/cell.py
+++ b/test/unit/client/cell.py
@@ -78,7 +78,7 @@ CERTS_CELLS = {
   b'\x00\x00\x81\x00\x01\x00': ([], b'', 2),
   b'\x00\x00\x81\x00\x04\x01\x01\x00\x00': ([Certificate(1, b'')], b'', 2),
   b'\x00\x00\x81\x00\x05\x01\x01\x00\x01\x08': ([Certificate(1, b'\x08')], b'', 2),
-  b'\x00\x00\x81\x00\x07\x01\x01\x00\x01\x08\x06\x04': ([Certificate(1, '\x08')], b'\x06\x04', 2),
+  b'\x00\x00\x81\x00\x07\x01\x01\x00\x01\x08\x06\x04': ([Certificate(1, b'\x08')], b'\x06\x04', 2),
 }
 
 AUTH_CHALLENGE_CELLS = {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits