From 9faa7ec08bb1634aa447a6f6cc0c315deb453be3 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 11 Apr 2010 23:51:24 +0000 Subject: compare with empty bytes --- Lib/test/test_gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 77cf94f..2f50b88 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") -- cgit v0.12