Sha256: ae64ed17ed7d88c197483371f854a6ee0a9b791a3c6d7c3bac81824f3628d675

Contents?: true

Size: 227 Bytes

Versions: 30

Compression:

Stored size: 227 Bytes

Contents

# SF bug #476138: tempfile behavior across platforms
# Ensure that a temp file can be closed any number of times without error.

import tempfile

f = tempfile.TemporaryFile("w+b")
f.write('abc\n')
f.close()
f.close()
f.close()

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rubyfox-server-2.19.2.0 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.17.3.2 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.17.3.1 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.17.3.0 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.16.3.2 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.16.3.1 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.16.0.4 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.16.0.3 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.16.0.2 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.16.0.1 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.16.0.0 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.13.7.3 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.13.6.2 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.13.6.1 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.13.5.1 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.13.4.1 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.13.3.1 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.12.5.1 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.12.5.0 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py
rubyfox-server-2.12.4.0 lib/rubyfox/server/data/lib/Lib/test/test_tempfile.py