diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-08-14 15:41:26 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-08-14 15:41:26 +0000 |
commit | 8fa4c8f0c5bd358583a701168ed0226b6429e68f (patch) | |
tree | 53024872c65bc18b6680cde8f8edb1f12173fe8d /Lib/test/test_pkg.py | |
parent | 330715e1f48d135140c9541fef942a99d8b2ab7a (diff) | |
download | cpython-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.py | 2 |
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: |