summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-02-24 13:59:38 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-02-24 13:59:38 (GMT)
commitc587301e2e7267eb006ce77289154bc8665cce22 (patch)
tree0e36cf031c815491d1278cb6303e53f9bd2dd2e5 /Tools
parent4a8c54e6d91549ae140970862d661dacf1112e31 (diff)
downloadcpython-c587301e2e7267eb006ce77289154bc8665cce22.zip
cpython-c587301e2e7267eb006ce77289154bc8665cce22.tar.gz
cpython-c587301e2e7267eb006ce77289154bc8665cce22.tar.bz2
- Changed GestaltEqu.h to Gestalt.h
- Changed FragLoader.h to CodeFragments.h - Removed Desk.h
Diffstat (limited to 'Tools')
0 files changed, 0 insertions, 0 deletions
td> -rw-r--r--Lib/test/test_posixpath.py37
-rw-r--r--Lib/test/test_py_compile.py8
-rw-r--r--Lib/test/test_shutil.py44
-rw-r--r--Lib/test/test_subprocess.py7
-rw-r--r--Lib/test/test_sysconfig.py8
-rw-r--r--Lib/test/test_tarfile.py12
-rw-r--r--Lib/test/test_unicode_file.py8
8 files changed, 33 insertions, 99 deletions
diff --git a/Lib/test/test_pep277.py b/Lib/test/test_pep277.py
index 6c833a8..98c716b 100644
--- a/Lib/test/test_pep277.py
+++ b/Lib/test/test_pep277.py
@@ -158,17 +158,11 @@ class UnicodeFileTests(unittest.TestCase):
def test_directory(self):
dirname = os.path.join(support.TESTFN, 'Gr\xfc\xdf-\u66e8\u66e9\u66eb')
filename = '\xdf-\u66e8\u66e9\u66eb'
- oldwd = os.getcwd()
- os.mkdir(dirname)
- os.chdir(dirname)
- try:
+ with support.temp_cwd(dirname):
with open(filename, 'wb') as f:
f.write((filename + '\n').encode("utf-8"))
os.access(filename,os.R_OK)
os.remove(filename)
- finally:
- os.chdir(oldwd)
- os.rmdir(dirname)
class UnicodeNFCFileTests(UnicodeFileTests):
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py