tests/run-tests.py
branchstable
changeset 844 e5e1c16fe5b7
parent 834 5a6898736b1a
child 852 fb1e8925292d
--- a/tests/run-tests.py	Fri Oct 15 00:36:45 2010 +0200
+++ b/tests/run-tests.py	Sat Oct 02 22:57:25 2010 +0900
@@ -546,6 +546,8 @@
 
             if el == l: # perfect match (fast)
                 postout.append("  " + l)
+            elif el and el.decode('string-escape') == l:
+                postout.append("  " + el)  # \-escape match
             elif (el and
                   (el.endswith(" (re)\n") and rematch(el[:-6] + '\n', l) or
                    el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', l))):