Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_tempfile Namespace Reference

Classes

class  TC
class  test_exports
class  test__RandomNameSequence
class  test__candidate_tempdir_list
class  test__get_candidate_names
class  test__mkstemp_inner
class  test_gettempprefix
class  test_gettempdir
class  test_mkstemp
class  test_mkdtemp
class  test_mktemp
class  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_SpooledTemporaryFile
class  test_TemporaryFile
class  NulledModules
class  test_TemporaryDirectory

Functions

def test_main

Variables

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

Function Documentation

Definition at line 1077 of file test_tempfile.py.

01077 
01078 def test_main():
01079     support.run_unittest(*test_classes)


Variable Documentation

tuple test.test_tempfile.has_spawnl = hasattr(os, 'spawnl')

Definition at line 19 of file test_tempfile.py.

Definition at line 14 of file test_tempfile.py.

Definition at line 18 of file test_tempfile.py.

Definition at line 70 of file test_tempfile.py.

Definition at line 24 of file test_tempfile.py.