diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-03 07:46:11 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-03 07:46:11 (GMT) |
commit | ccc546c658ff811d8a201af04c8258a46a69c086 (patch) | |
tree | 0144f08a22c6effc7d1f17f2f58eb3b2d1cf8ba0 | |
parent | 379583e762c6ac8b4f2e86220ce0bfa8d54c6919 (diff) | |
parent | 26afae40194fe4fa38d74970d5b0f285ede19e24 (diff) | |
download | cpython-ccc546c658ff811d8a201af04c8258a46a69c086.zip cpython-ccc546c658ff811d8a201af04c8258a46a69c086.tar.gz cpython-ccc546c658ff811d8a201af04c8258a46a69c086.tar.bz2 |
Merge 3.4 (test_gdb)
-rw-r--r-- | Lib/test/test_gdb.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 2078de2..ed8b7b7 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -36,7 +36,8 @@ def get_gdb_version(): # Regex to parse: # 'GNU gdb (GDB; SUSE Linux Enterprise 12) 7.7\n' -> 7.7 # 'GNU gdb (GDB) Fedora 7.9.1-17.fc22\n' -> 7.9 - match = re.search("^GNU gdb .*? (\d+)\.(\d)", version) + # 'GNU gdb 6.1.1 [FreeBSD]\n' + match = re.search("^GNU gdb.*? (\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))) |