From: Victor Stinner Date: Sun, 29 Mar 2015 23:32:42 +0000 (+0200) Subject: Issue #22390: Fix test_gzip, remove temporary file X-Git-Tag: v2.7.10rc1~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b00364e18d60a139fce25397f0d7b8667b8e5cd;p=thirdparty%2FPython%2Fcpython.git Issue #22390: Fix test_gzip, remove temporary file --- diff --git a/Lib/test/test_gzip.py b/Lib/test/test_gzip.py index 41857c7f83f7..95f51411a104 100644 --- 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 try: unicode_filename.encode(test_support.TESTFN_ENCODING) except (UnicodeError, TypeError):