[Python-checkins] cpython: Revome extra .py suffix

andrew.svetlov python-checkins at python.org
Mon Nov 5 08:28:54 CET 2012


http://hg.python.org/cpython/rev/141852a8697a
changeset:   80264:141852a8697a
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Mon Nov 05 09:28:42 2012 +0200
summary:
  Revome extra .py suffix

files:
  Lib/test/test_cmd_line_script.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py
--- a/Lib/test/test_cmd_line_script.py
+++ b/Lib/test/test_cmd_line_script.py
@@ -366,7 +366,7 @@
     def test_non_ascii(self):
         # Issue #16218
         # non-ascii filename encodable to cp1252, cp932, latin1 and utf8
-        filename = support.TESTFN + '\xa3.py'
+        filename = support.TESTFN + '\xa3'
         try:
             os.fsencode(filename)
         except UnicodeEncodeError:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list