diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-02-12 06:06:50 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-02-12 06:25:29 -0800 |
commit | c676808a34e27fc3f7b1115c5257b382c6f00cb4 (patch) | |
tree | 9ebecd3668297ae776c44dd8e439d2ade72254cb /scripts | |
parent | 15de3d17e1d9da5d38efb0a87a82efbc5bda732d (diff) | |
download | glibc-c676808a34e27fc3f7b1115c5257b382c6f00cb4.zip glibc-c676808a34e27fc3f7b1115c5257b382c6f00cb4.tar.gz glibc-c676808a34e27fc3f7b1115c5257b382c6f00cb4.tar.bz2 |
test_printers_common.py: Remove invalid escape sequence
Change "\(" and "\)" to "\\(" and "\\)" in test_printers_common.py. This
fixes the test warning:
.../scripts/test_printers_common.py:101: SyntaxWarning: invalid escape sequence '\('
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/test_printers_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test_printers_common.py b/scripts/test_printers_common.py index bf70096..5c0d936 100644 --- a/scripts/test_printers_common.py +++ b/scripts/test_printers_common.py @@ -98,7 +98,7 @@ try: # If everything's ok, spawn the gdb process we'll use for testing. gdb = pexpect.spawn(gdb_invocation, echo=False, timeout=timeout, encoding=encoding) - gdb_prompt = u'\(gdb\)' + gdb_prompt = u'\\(gdb\\)' gdb.expect(gdb_prompt) except pexpect.ExceptionPexpect as exception: |