mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Revome extra .py suffix
This commit is contained in:
parent
7529620a15
commit
bcbf4036c9
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue