Back to index

python3.2  3.2.2
Classes | Namespaces | Functions | Variables
test_tempfile.py File Reference

Go to the source code of this file.

Classes

class  test.test_tempfile.TC
class  test.test_tempfile.test_exports
class  test.test_tempfile.test__RandomNameSequence
class  test.test_tempfile.test__candidate_tempdir_list
class  test.test_tempfile.test__get_candidate_names
class  test.test_tempfile.test__mkstemp_inner
class  test.test_tempfile.test__mkstemp_inner.mkstemped
class  test.test_tempfile.test_gettempprefix
class  test.test_tempfile.test_gettempdir
class  test.test_tempfile.test_mkstemp
class  test.test_tempfile.test_mkdtemp
class  test.test_tempfile.test_mktemp
class  test.test_tempfile.test_mktemp.mktemped
class  test.test_tempfile.test_NamedTemporaryFile
 
 def test_warning(self):

mktemp issues a warning when used

warnings.filterwarnings("error", category=RuntimeWarning, message="mktemp") self.assertRaises(RuntimeWarning, tempfile.mktemp, dir=self.dir) More...
class  test.test_tempfile.test_SpooledTemporaryFile
class  test.test_tempfile.test_TemporaryFile
class  test.test_tempfile.NulledModules
class  test.test_tempfile.test_TemporaryDirectory

Namespaces

namespace  test.test_tempfile

Functions

def test.test_tempfile.test_main

Variables

int test.test_tempfile.has_stat = 1
tuple test.test_tempfile.has_textmode = (tempfile._text_openflags != tempfile._bin_openflags)
tuple test.test_tempfile.has_spawnl = hasattr(os, 'spawnl')
int test.test_tempfile.TEST_FILES = 48
list test.test_tempfile.test_classes = []