[Python-checkins] bpo-16079: fix duplicate test method name in test_gzip. (GH-12827)

Miss Islington (bot) webhook-mailer at python.org
Sun Apr 14 13:50:57 EDT 2019


https://github.com/python/cpython/commit/9f9e029bd2223ecba46eaefecadf0ac252d891f2
commit: 9f9e029bd2223ecba46eaefecadf0ac252d891f2
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-04-14T10:50:52-07:00
summary:

bpo-16079: fix duplicate test method name in test_gzip. (GH-12827)

(cherry picked from commit cd466559c4a312b3c1223a774ad4df19fc4f0407)

Co-authored-by: Gregory P. Smith <greg at krypto.org>

files:
M Lib/test/test_gzip.py

diff --git a/Lib/test/test_gzip.py b/Lib/test/test_gzip.py
index b072ce4682c0..17ecda2089f2 100644
--- a/Lib/test/test_gzip.py
+++ b/Lib/test/test_gzip.py
@@ -735,7 +735,7 @@ def test_compress_stdin_outfile(self):
         self.assertEqual(out[:2], b"\x1f\x8b")
 
     @create_and_remove_directory(TEMPDIR)
-    def test_compress_infile_outfile(self):
+    def test_compress_infile_outfile_default(self):
         local_testgzip = os.path.join(TEMPDIR, 'testgzip')
         gzipname = local_testgzip + '.gz'
         self.assertFalse(os.path.exists(gzipname))



More information about the Python-checkins mailing list