[Python-checkins] cpython (2.7): Issue #22390: Fix test_gzip, remove temporary file
victor.stinner
python-checkins at python.org
Mon Mar 30 01:36:25 CEST 2015
https://hg.python.org/cpython/rev/33e48141d83f
changeset: 95264:33e48141d83f
branch: 2.7
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Mar 30 01:32:42 2015 +0200
summary:
Issue #22390: Fix test_gzip, remove temporary file
files:
Lib/test/test_gzip.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_gzip.py b/Lib/test/test_gzip.py
--- a/Lib/test/test_gzip.py
+++ b/Lib/test/test_gzip.py
@@ -41,6 +41,7 @@
@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):
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list