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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9faa7ec08bb1634aa447a6f6cc0c315deb453be3;p=thirdparty%2FPython%2Fcpython.git compare with empty bytes --- diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 77cf94f91095..2f50b8807fe6 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")