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/11 14:07:38 UTC

svn commit: r1743371 - /subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py

Author: stefan2
Date: Wed May 11 14:07:38 2016
New Revision: 1743371

URL: http://svn.apache.org/viewvc?rev=1743371&view=rev
Log:
Make svnauthz tests pass with Python 3:

* subversion/tests/cmdline/svnauthz_tests.py
  (output_command): Once again, the output file is in binary mode.

Modified:
    subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py?rev=1743371&r1=1743370&r2=1743371&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py Wed May 11 14:07:38 2016
@@ -53,7 +53,7 @@ def output_command(fp, cmd, opt):
   status = process.returncode
   fp.write(output)
   fp.write(errors)
-  fp.write("Exit %%d\\n" %% status)
+  fp.write(("Exit %%d\\n" %% status).encode())
   return status
 
 for (svnauthz_cmd, svnauthz_opt) in %s: