[Python-checkins] cpython (merge 3.4 -> 3.5): Merge 3.4 (test_gdb)

victor.stinner python-checkins at python.org
Thu Sep 3 09:47:55 CEST 2015


https://hg.python.org/cpython/rev/ecd43087e826
changeset: 97607:ecd43087e826
branch: 3.5
parent: 97603:ff1817c34423
parent: 97606:63c697473515
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Sep 03 09:46:11 2015 +0200
summary:
 Merge 3.4 (test_gdb)
files:
 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
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -36,7 +36,8 @@
 # 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)))
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /