Kaydet (Commit) 7b00364e authored tarafından Victor Stinner's avatar Victor Stinner

Issue #22390: Fix test_gzip, remove temporary file

üst ffaa0318
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment