[reprotest] 01/01: test: fix typo

Ximin Luo infinity0 at debian.org
Fri Oct 27 00:26:44 UTC 2017


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

infinity0 pushed a commit to branch master
in repository reprotest.

commit 1058f2669543364019a4293969ab43251506b3c9
Author: Ximin Luo <infinity0 at debian.org>
Date:   Fri Oct 27 02:25:31 2017 +0200

    test: fix typo
---
 tests/mock_build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/mock_build.py b/tests/mock_build.py
index efe24c3..a6ccca4 100755
--- a/tests/mock_build.py
+++ b/tests/mock_build.py
@@ -23,7 +23,7 @@ if __name__ == '__main__':
     # This test can theoretically fail by producing the same
     # random bits in both runs, but it is extremely unlikely.
     if 'irreproducible' in captures:
-        output.append(binascii.b2a_hex(os.urandom(1024)))
+        output.append(binascii.b2a_hex(os.urandom(1024)).decode("utf-8"))
     # Like the above test, this test can theoretically fail by
     # producing the same file order, but this is unlikely, if not
     # as unlikely as in the above test.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git



More information about the Reproducible-commits mailing list