Revome extra .py suffix

This commit is contained in:
Andrew Svetlov 2012-11-05 09:28:42 +02:00
parent 7529620a15
commit bcbf4036c9
1 changed files with 1 additions and 1 deletions

View 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: