From a221a37af33616114c8721120c1bfe2b4c844aa2 Mon Sep 17 00:00:00 2001 From: Nic Herndon Date: Fri, 29 Jun 2018 22:42:26 +0000 Subject: [PATCH] Fixed comparison with binary string --- test/unit/tools/test_tool_deps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/tools/test_tool_deps.py b/test/unit/tools/test_tool_deps.py index daac8549485..7ffa5b6cda4 100644 --- a/test/unit/tools/test_tool_deps.py +++ b/test/unit/tools/test_tool_deps.py @@ -453,7 +453,7 @@ def __assert_foo_exported(commands): command = ["bash", "-c", "%s; echo \"$FOO\"" % "".join(commands)] process = Popen(command, stdout=PIPE) output = process.communicate()[0].strip() - assert output == 'bar', "Command %s exports FOO as %s, not bar" % (command, output) + assert output == b'bar', "Command %s exports FOO as %s, not bar" % (command, output) def __setup_galaxy_package_dep(base_path, name, version, contents=""):