1. mirror
  2. cpython

Commits

Comments (0)

Files changed (1)

File Lib/test/test_cmd_line_script.py Modified

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