mercurial/pycompat.py
changeset 43503 313e3a279828
parent 43437 93f74a7d3f07
child 43506 9f70512ae2cf
--- a/mercurial/pycompat.py	Thu Nov 07 03:59:22 2019 -0800
+++ b/mercurial/pycompat.py	Thu Nov 07 13:18:19 2019 -0500
@@ -423,7 +423,7 @@
         if isinstance(filename, str):
             return filename
         else:
-            raise TypeError(r"expect str, not %s" % type(filename).__name__)
+            raise TypeError("expect str, not %s" % type(filename).__name__)
 
     # In Python 2, fsdecode() has a very chance to receive bytes. So it's
     # better not to touch Python 2 part as it's already working fine.