Skip to content

Commit

Permalink
Fixed comparison with binary string
Browse files Browse the repository at this point in the history
  • Loading branch information
NicHerndon committed Jun 30, 2018
1 parent 5dbae1d commit a221a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/tools/test_tool_deps.py
Expand Up @@ -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=""):
Expand Down

0 comments on commit a221a37

Please sign in to comment.