contrib/testparseutil.py
changeset 42391 c2deb2512823
parent 42390 37f38e1dea44
child 43076 2372284d9457
--- a/contrib/testparseutil.py	Wed May 29 09:59:35 2019 -0400
+++ b/contrib/testparseutil.py	Wed May 29 10:00:30 2019 -0400
@@ -255,7 +255,7 @@
 class fileheredocmatcher(embeddedmatcher):
     """Detect "cat > FILE << LIMIT" style embedded code
 
-    >>> matcher = fileheredocmatcher(b'heredoc .py file', br'[^<]+\\.py')
+    >>> matcher = fileheredocmatcher('heredoc .py file', r'[^<]+\\.py')
     >>> b2s(matcher.startsat('  $ cat > file.py << EOF\\n'))
     ('file.py', '  > EOF\\n')
     >>> b2s(matcher.startsat('  $ cat   >>file.py   <<EOF\\n'))