[Python-checkins] r79981 - python/branches/py3k/Lib/test/test_gdb.py

benjamin.peterson python-checkins at python.org
Mon Apr 12 01:51:24 CEST 2010


Author: benjamin.peterson
Date: Mon Apr 12 01:51:24 2010
New Revision: 79981

Log:
compare with empty bytes

Modified:
   python/branches/py3k/Lib/test/test_gdb.py

Modified: python/branches/py3k/Lib/test/test_gdb.py
==============================================================================
--- python/branches/py3k/Lib/test/test_gdb.py	(original)
+++ python/branches/py3k/Lib/test/test_gdb.py	Mon Apr 12 01:51:24 2010
@@ -28,7 +28,7 @@
 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")
 
 


More information about the Python-checkins mailing list