mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Merged revisions 85984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85984 | brian.curtin | 2010-10-30 16:03:18 -0500 (Sat, 30 Oct 2010) | 2 lines Fix #10256 - resource warning ........
This commit is contained in:
parent
3d89751c7a
commit
cf9ca7f259
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class TestImport(unittest.TestCase):
|
||||||
self.package_dir = os.path.join(self.test_dir,
|
self.package_dir = os.path.join(self.test_dir,
|
||||||
self.package_name)
|
self.package_name)
|
||||||
os.mkdir(self.package_dir)
|
os.mkdir(self.package_dir)
|
||||||
open(os.path.join(self.package_dir, '__init__.py'), 'w')
|
open(os.path.join(self.package_dir, '__init__.py'), 'w').close()
|
||||||
self.module_path = os.path.join(self.package_dir, 'foo.py')
|
self.module_path = os.path.join(self.package_dir, 'foo.py')
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue