summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pkg.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-14 15:41:26 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-14 15:41:26 (GMT)
commit04490bf225a821455cd89821479bd0277dcbb3dc (patch)
tree3fc079d40a53b80f066c68ba2c17e357878b5d9f /Lib/test/test_pkg.py
parent5c08a99b77e371b23ca7b06407c1c8ac6616b8df (diff)
downloadcpython-04490bf225a821455cd89821479bd0277dcbb3dc.zip
cpython-04490bf225a821455cd89821479bd0277dcbb3dc.tar.gz
cpython-04490bf225a821455cd89821479bd0277dcbb3dc.tar.bz2
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 36ea95c..919a019 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: