summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-14 22:23:08 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-09-14 22:23:08 (GMT)
commitd64cfc215c74c5ba1c97f23fde9291c2d50dc3a9 (patch)
treef84da207d3066e69f36295bec79f5984f0a2215f /Lib/test/test_gdb.py
parent9b608e539b4e6ca60f91fe48764f503a915cb690 (diff)
parenta578eb34ba2fdee441d085a88021b3f1544af98e (diff)
downloadcpython-d64cfc215c74c5ba1c97f23fde9291c2d50dc3a9.zip
cpython-d64cfc215c74c5ba1c97f23fde9291c2d50dc3a9.tar.gz
cpython-d64cfc215c74c5ba1c97f23fde9291c2d50dc3a9.tar.bz2
Merge 3.4 (test_gdb)
Diffstat (limited to 'Lib/test/test_gdb.py')
-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 db777be..6c4a348 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -38,7 +38,7 @@ def get_gdb_version():
# 'GNU gdb (GDB) Fedora 7.9.1-17.fc22\n' -> 7.9
# 'GNU gdb 6.1.1 [FreeBSD]\n' -> 6.1
# 'GNU gdb (GDB) Fedora (7.5.1-37.fc18)\n' -> 7.5
- match = re.search(r"^GNU gdb.*?\b(\d+)\.(\d)", version)
+ match = re.search(r"^GNU gdb.*?\b(\d+)\.(\d+)", version)
if match is None:
raise Exception("unable to parse GDB version: %r" % version)
return (version, int(match.group(1)), int(match.group(2)))