mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
compare with empty bytes
This commit is contained in:
parent
6a45e9df94
commit
9faa7ec08b
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue