diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-14 22:23:08 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-14 22:23:08 (GMT) |
commit | d64cfc215c74c5ba1c97f23fde9291c2d50dc3a9 (patch) | |
tree | f84da207d3066e69f36295bec79f5984f0a2215f /Lib/test | |
parent | 9b608e539b4e6ca60f91fe48764f503a915cb690 (diff) | |
parent | a578eb34ba2fdee441d085a88021b3f1544af98e (diff) | |
download | cpython-d64cfc215c74c5ba1c97f23fde9291c2d50dc3a9.zip cpython-d64cfc215c74c5ba1c97f23fde9291c2d50dc3a9.tar.gz cpython-d64cfc215c74c5ba1c97f23fde9291c2d50dc3a9.tar.bz2 |
Merge 3.4 (test_gdb)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_gdb.py | 2 |
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))) |