subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dan...@apache.org
Subject svn commit: r934592 - /subversion/trunk/subversion/tests/cmdline/patch_tests.py
Date Thu, 15 Apr 2010 20:57:52 GMT
Author: dannas
Date: Thu Apr 15 20:57:52 2010
New Revision: 934592

URL: http://svn.apache.org/viewvc?rev=934592&view=rev
Log:
* subversion/tests/cmdline/patch_tests.py
  (patch_with_ignore_whitespaces): Use make_patch_path() instead of mkstemp()
   to create a filename for the patch file.

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

Modified: subversion/trunk/subversion/tests/cmdline/patch_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/patch_tests.py?rev=934592&r1=934591&r2=934592&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/patch_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/patch_tests.py Thu Apr 15 20:57:52 2010
@@ -2257,7 +2257,7 @@ def patch_with_ignore_whitespaces(sbox):
   sbox.build()
   wc_dir = sbox.wc_dir
 
-  patch_file_path = tempfile.mkstemp(dir=os.path.abspath(svntest.main.temp_dir))[1]
+  patch_file_path = make_patch_path(sbox)
   mu_path = os.path.join(wc_dir, 'A', 'mu')
 
   mu_contents = [



Mime
View raw message