4
0
mirror of https://github.com/QuasarApp/LIEF.git synced 2025-05-06 08:49:33 +00:00

Fix encoding issue

This commit is contained in:
Romain Thomas 2018-08-11 04:11:56 +02:00
parent bce9ebe170
commit 38e84d6d2c

@ -87,7 +87,8 @@ class TestPe(TestCase):
p = Popen([output], shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, creationflags=subprocess_flags)
stdout, _ = p.communicate()
self.logger.debug(stdout.decode("utf8"))
stdout = stdout.decode("utf8")
self.logger.debug(stdout)
self.assertIn("Hello World", stdout)