diff options
| author | Benjamin Peterson <benjamin@python.org> | 2009-03-26 20:48:25 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2009-03-26 20:48:25 (GMT) |
| commit | 888a39b54c4f47ee25d53b157e2c50402627cd0b (patch) | |
| tree | 67a48f107d83b8451e338f1ea822f2b4c65f6960 /Lib/test/test_tempfile.py | |
| parent | 21f6aac633a78271e762d6cd4b709e6a91d0c42a (diff) | |
| download | cpython-888a39b54c4f47ee25d53b157e2c50402627cd0b.zip cpython-888a39b54c4f47ee25d53b157e2c50402627cd0b.tar.gz cpython-888a39b54c4f47ee25d53b157e2c50402627cd0b.tar.bz2 | |
remove test_support.TestSkipped and just use unittest.SkipTest
Diffstat (limited to 'Lib/test/test_tempfile.py')
| -rw-r--r-- | Lib/test/test_tempfile.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index 74e55d8..792ad5d 100644 --- a/Lib/test/test_tempfile.py +++ b/Lib/test/test_tempfile.py @@ -259,7 +259,7 @@ class test__mkstemp_inner(TC): def test_file_mode(self): # _mkstemp_inner creates files with the proper mode if not has_stat: - return # ugh, can't use TestSkipped. + return # ugh, can't use SkipTest. file = self.do_create() mode = stat.S_IMODE(os.stat(file.name).st_mode) @@ -274,7 +274,7 @@ class test__mkstemp_inner(TC): def test_noinherit(self): # _mkstemp_inner file handles are not inherited by child processes if not has_spawnl: - return # ugh, can't use TestSkipped. + return # ugh, can't use SkipTest. if test_support.verbose: v="v" @@ -312,7 +312,7 @@ class test__mkstemp_inner(TC): def test_textmode(self): # _mkstemp_inner can create files in text mode if not has_textmode: - return # ugh, can't use TestSkipped. + return # ugh, can't use SkipTest. self.do_create(bin=0).write("blat\n") # XXX should test that the file really is a text file @@ -476,7 +476,7 @@ class test_mkdtemp(TC): def test_mode(self): # mkdtemp creates directories with the proper mode if not has_stat: - return # ugh, can't use TestSkipped. + return # ugh, can't use SkipTest. dir = self.do_create() try: |
