1. mirror
  2. cpython

Commits

Andrew Svetlov  committed 141852a

Revome extra .py suffix

  • Participants
  • Parent commits 56df0d4
  • Branches default

Comments (0)

Files changed (1)

File Lib/test/test_cmd_line_script.py

View file
  • Ignore whitespace
     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: