summaryrefslogtreecommitdiff
path: root/Lib/test/test_pkg.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-14 15:41:26 +0000
committerTim Peters <tim.peters@gmail.com>2002-08-14 15:41:26 +0000
commit8fa4c8f0c5bd358583a701168ed0226b6429e68f (patch)
tree53024872c65bc18b6680cde8f8edb1f12173fe8d /Lib/test/test_pkg.py
parent330715e1f48d135140c9541fef942a99d8b2ab7a (diff)
downloadcpython-8fa4c8f0c5bd358583a701168ed0226b6429e68f.tar.gz
tempfile's mkstemp(): Changed last argument from
binary=True to text=False by BDFL Pronouncement. All other changes follow from this. The change to the docs is ready to go, but blocked by another JackMacLock in the doc directory.
Diffstat (limited to 'Lib/test/test_pkg.py')
-rw-r--r--Lib/test/test_pkg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pkg.py b/Lib/test/test_pkg.py
index 36ea95c608..919a019cab 100644
--- a/Lib/test/test_pkg.py
+++ b/Lib/test/test_pkg.py
@@ -56,7 +56,7 @@ def runtest(hier, code):
root = tempfile.mkdtemp()
mkhier(root, hier)
savepath = sys.path[:]
- fd, fname = tempfile.mkstemp(binary=False)
+ fd, fname = tempfile.mkstemp(text=True)
os.write(fd, code)
os.close(fd)
try: