summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/headers/test.py
diff options
context:
space:
mode:
authorAustin Henriksen <austin@zeroc.com>2020-02-10 14:23:15 -0500
committerJoe George <joe@zeroc.com>2023-12-07 11:13:02 -0500
commit0d709b71c85fde11b44fb83d19d57b2b1d81ee2a (patch)
tree963c94fedc966b12a7c085be3731fc6c5f9516a4 /cpp/test/Slice/headers/test.py
parentFix indentation (diff)
downloadice-0d709b71c85fde11b44fb83d19d57b2b1d81ee2a.tar.bz2
ice-0d709b71c85fde11b44fb83d19d57b2b1d81ee2a.tar.xz
ice-0d709b71c85fde11b44fb83d19d57b2b1d81ee2a.zip
Fixes #708.
(cherry picked from commit e72ec310aba8a19ffb2655091be75b7bd2e6e371)
Diffstat (limited to 'cpp/test/Slice/headers/test.py')
-rw-r--r--cpp/test/Slice/headers/test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Slice/headers/test.py b/cpp/test/Slice/headers/test.py
index 7b66e895638..938fcb65a9e 100644
--- a/cpp/test/Slice/headers/test.py
+++ b/cpp/test/Slice/headers/test.py
@@ -24,10 +24,10 @@ class SliceHeadersTestCase(ClientTestCase):
def runTest(args):
slice2cpp.run(current, args=args.split(" "))
f = open("b.h")
- if not re.search('#include <dir1\/a1\.h>\n'
- '#include <linktodir1\/a2\.h>\n'
- '#include <linktodir1\/linktoa3\.h>\n'
- '#include <Ice\/Identity\.h>\n', f.read(), re.S):
+ if not re.search(r'#include <dir1\/a1\.h>\n'
+ r'#include <linktodir1\/a2\.h>\n'
+ r'#include <linktodir1\/linktoa3\.h>\n'
+ r'#include <Ice\/Identity\.h>\n', f.read(), re.S):
raise RuntimeError("failed!")
os.unlink("b.h")