diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-14 22:23:20 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-14 22:23:20 (GMT) |
| commit | 13e457c80819f118a5c531ecb94304d26c803e8e (patch) | |
| tree | d20fd7d1d69e73075e4f46f4153354d5f4f09e71 /Lib/test | |
| parent | ad26225e1a62f32848669b09326835dfd0369a79 (diff) | |
| parent | d64cfc215c74c5ba1c97f23fde9291c2d50dc3a9 (diff) | |
| download | cpython-13e457c80819f118a5c531ecb94304d26c803e8e.zip cpython-13e457c80819f118a5c531ecb94304d26c803e8e.tar.gz cpython-13e457c80819f118a5c531ecb94304d26c803e8e.tar.bz2 | |
Merge 3.5 (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..6c4a3489 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))) |
