You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2016/05/10 21:42:02 UTC
svn commit: r1743264 -
/subversion/trunk/subversion/tests/cmdline/copy_tests.py
Author: stefan2
Date: Tue May 10 21:42:02 2016
New Revision: 1743264
URL: http://svn.apache.org/viewvc?rev=1743264&view=rev
Log:
Make copy tests pass with Python 3.
* subversion/tests/cmdline/copy_tests.py
(repos_to_wc_copy_eol_keywords): Contents is from a binary file.
Modified:
subversion/trunk/subversion/tests/cmdline/copy_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/copy_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/copy_tests.py?rev=1743264&r1=1743263&r2=1743264&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/copy_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/copy_tests.py Tue May 10 21:42:02 2016
@@ -1297,10 +1297,10 @@ def repos_to_wc_copy_eol_keywords(sbox):
line_contents = f.readlines()
f.close()
- if re.match('[^\\r]\\n', raw_contents):
+ if re.match(b'[^\\r]\\n', raw_contents):
raise svntest.Failure
- if not re.match('.*\$LastChangedRevision:\s*\d+\s*\$', line_contents[3]):
+ if not re.match(b'.*\$LastChangedRevision:\s*\d+\s*\$', line_contents[3]):
raise svntest.Failure
#-------------------------------------------------------------