Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(73)

Unified Diff: Lib/test/test_glob.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_future5.py ('k') | Lib/test/test_http_cookiejar.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_glob.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Lib/test/test_glob.py Mon Jul 25 09:47:18 2011 -0400
@@ -1,6 +1,5 @@
import unittest
-from test.support import (run_unittest, TESTFN, skip_unless_symlink,
- can_symlink, create_empty_file)
+from test.support import run_unittest, TESTFN, skip_unless_symlink, can_symlink
import glob
import os
import shutil
@@ -15,7 +14,8 @@
base, file = os.path.split(filename)
if not os.path.exists(base):
os.makedirs(base)
- create_empty_file(filename)
+ f = open(filename, 'w')
+ f.close()
def setUp(self):
self.tempdir = TESTFN+"_dir"
« no previous file with comments | « Lib/test/test_future5.py ('k') | Lib/test/test_http_cookiejar.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+