From: Benjamin Peterson Date: Sun, 11 Apr 2010 23:51:24 +0000 (+0000) Subject: compare with empty bytes X-Git-Tag: v3.2a1~1172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9faa7ec08bb1634aa447a6f6cc0c315deb453be3;p=python compare with empty bytes --- diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 77cf94f910..2f50b8807f 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -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")