mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Merge debug print removal with 3.3.
This commit is contained in:
commit
a833e0d8ae
1 changed files with 0 additions and 4 deletions
|
@ -97,10 +97,6 @@ class CmdLineTest(unittest.TestCase):
|
||||||
@unittest.skipUnless(test.support.FS_NONASCII, 'need support.FS_NONASCII')
|
@unittest.skipUnless(test.support.FS_NONASCII, 'need support.FS_NONASCII')
|
||||||
def test_non_ascii(self):
|
def test_non_ascii(self):
|
||||||
# Test handling of non-ascii data
|
# Test handling of non-ascii data
|
||||||
if test.support.verbose:
|
|
||||||
import locale
|
|
||||||
print('locale encoding = %s, filesystem encoding = %s'
|
|
||||||
% (locale.getpreferredencoding(), sys.getfilesystemencoding()))
|
|
||||||
command = ("assert(ord(%r) == %s)"
|
command = ("assert(ord(%r) == %s)"
|
||||||
% (test.support.FS_NONASCII, ord(test.support.FS_NONASCII)))
|
% (test.support.FS_NONASCII, ord(test.support.FS_NONASCII)))
|
||||||
assert_python_ok('-c', command)
|
assert_python_ok('-c', command)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue