summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-11-23 20:17:02 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-11-23 20:17:02 (GMT)
commita833e0d8ae16bcb1768c7df22e3ed6e5ad35031a (patch)
treeaa6a0736a8759a9d56a3c060b938b1b506a9ea74 /Lib
parentf8eb15dce2228eacfe44d908d77b6518c72196e9 (diff)
parent9ab09d129e7908d58f8141cbf0ef824c1037a7e4 (diff)
downloadcpython-a833e0d8ae16bcb1768c7df22e3ed6e5ad35031a.zip
cpython-a833e0d8ae16bcb1768c7df22e3ed6e5ad35031a.tar.gz
cpython-a833e0d8ae16bcb1768c7df22e3ed6e5ad35031a.tar.bz2
Merge debug print removal with 3.3.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_cmd_line.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py
index 4e56cd1..6684e51 100644
--- a/Lib/test/test_cmd_line.py
+++ b/Lib/test/test_cmd_line.py
@@ -97,10 +97,6 @@ class CmdLineTest(unittest.TestCase):
@unittest.skipUnless(test.support.FS_NONASCII, 'need support.FS_NONASCII')
def test_non_ascii(self):
# 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)"
% (test.support.FS_NONASCII, ord(test.support.FS_NONASCII)))
assert_python_ok('-c', command)