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

atagar at torproject.org atagar at torproject.org
Thu Jul 12 18:53:11 UTC 2018


commit 429304650d2f942514240e9e446db16054c93984
Author: Dave Rolek <dmr-x at riseup.net>
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 = {





More information about the tor-commits mailing list