You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2010/04/15 22:57:52 UTC
svn commit: r934592 -
/subversion/trunk/subversion/tests/cmdline/patch_tests.py
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 = [