cpython: 33e48141d83f (original) (raw)
Mercurial > cpython
changeset 95264:33e48141d83f 2.7
Issue #22390: Fix test_gzip, remove temporary file [#22390]
Victor Stinner victor.stinner@gmail.com | |
---|---|
date | Mon, 30 Mar 2015 01:32:42 +0200 |
parents | c5c31adbefeb |
children | 6ef2cacec2e9 |
files | Lib/test/test_gzip.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-)[+] [-] Lib/test/test_gzip.py 1 |
line wrap: on
line diff
--- a/Lib/test/test_gzip.py +++ b/Lib/test/test_gzip.py @@ -41,6 +41,7 @@ class TestGzip(unittest.TestCase): @test_support.requires_unicode def test_unicode_filename(self): unicode_filename = test_support.TESTFN_UNICODE
self.filename = unicode_filename[](#l1.7) try:[](#l1.8) unicode_filename.encode(test_support.TESTFN_ENCODING)[](#l1.9) except (UnicodeError, TypeError):[](#l1.10)