mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +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):
|
def test_non_ascii(self):
|
||||||
# Issue #16218
|
# Issue #16218
|
||||||
# non-ascii filename encodable to cp1252, cp932, latin1 and utf8
|
# non-ascii filename encodable to cp1252, cp932, latin1 and utf8
|
||||||
filename = support.TESTFN + '\xa3.py'
|
filename = support.TESTFN + '\xa3'
|
||||||
try:
|
try:
|
||||||
os.fsencode(filename)
|
os.fsencode(filename)
|
||||||
except UnicodeEncodeError:
|
except UnicodeEncodeError:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue