You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2013/05/14 23:16:12 UTC

svn commit: r1482592 - /subversion/trunk/subversion/bindings/ctypes-python/test/svntypes.py

Author: breser
Date: Tue May 14 21:16:11 2013
New Revision: 1482592

URL: http://svn.apache.org/r1482592
Log:
* subversion/bindings/ctypes-python/test/svntypes.py
  (test_as_human_string): Mark regex string as raw.

Suggested by: danielsh

Modified:
    subversion/trunk/subversion/bindings/ctypes-python/test/svntypes.py

Modified: subversion/trunk/subversion/bindings/ctypes-python/test/svntypes.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/ctypes-python/test/svntypes.py?rev=1482592&r1=1482591&r2=1482592&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/ctypes-python/test/svntypes.py (original)
+++ subversion/trunk/subversion/bindings/ctypes-python/test/svntypes.py Tue May 14 21:16:11 2013
@@ -36,7 +36,7 @@ class SvnDateTestCase(unittest.TestCase)
         d1 = SvnDate('1999-12-31T23:59:59.000000Z')
         s1 = d1.as_human_string()
         self.assertRegexpMatches(s1[:27],
-            '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} [+-]\d{4} \(')
+            r'\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} [+-]\d{4} \(')
 
 
 class HashTestCase(unittest.TestCase):