Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9faa7ec

Browse files
committed
compare with empty bytes
1 parent 6a45e9d commit 9faa7ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_gdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
p = subprocess.Popen(["gdb", "--batch", cmd],
2929
stdout=subprocess.PIPE)
3030
gdbpy_version, _ = p.communicate()
31-
if gdbpy_version == '':
31+
if gdbpy_version == b'':
3232
raise unittest.SkipTest("gdb not built with embedded python support")
3333

3434

0 commit comments

Comments
 (0)