]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Revome extra .py suffix
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Mon, 5 Nov 2012 07:28:42 +0000 (09:28 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Mon, 5 Nov 2012 07:28:42 +0000 (09:28 +0200)
Lib/test/test_cmd_line_script.py

index 750cf440ebb961d5bb7280786f40fbf14c661b08..a8472c03a4ffa609e8323d48c776d0055f8984da 100644 (file)
@@ -366,7 +366,7 @@ class CmdLineTest(unittest.TestCase):
     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: