summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-04-11 23:51:24 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-04-11 23:51:24 (GMT)
commit9faa7ec08bb1634aa447a6f6cc0c315deb453be3 (patch)
treecd02f479c1777a96e1f972a753baf758bfc22c4c
parent6a45e9df94d2c77b37b3656e6109b6fd39e400fa (diff)
downloadcpython-9faa7ec08bb1634aa447a6f6cc0c315deb453be3.zip
cpython-9faa7ec08bb1634aa447a6f6cc0c315deb453be3.tar.gz
cpython-9faa7ec08bb1634aa447a6f6cc0c315deb453be3.tar.bz2
compare with empty bytes
-rw-r--r--Lib/test/test_gdb.py2
1 files changed, 1 insertions, 1 deletions
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")