Commit 55c5ec8e authored by Benjamin Peterson's avatar Benjamin Peterson

compare with empty bytes

parent 94ce4b31
......@@ -28,7 +28,7 @@ cmd = "--eval-command=python import sys; print sys.version_info"
p = subprocess.Popen(["gdb", "--batch", cmd],
stdout=subprocess.PIPE)
gdbpy_version, _ = p.communicate()
if gdbpy_version == '':
if gdbpy_version == b'':
raise unittest.SkipTest("gdb not built with embedded python support")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment