summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-11-23 20:16:45 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-11-23 20:16:45 (GMT)
commit9ab09d129e7908d58f8141cbf0ef824c1037a7e4 (patch)
tree85bb5e47f1bbe8d8f2d71337f85cb7ee1803a47b /Lib
parent27e4b6059e6414d88c7284bbcccebb55b0957bc5 (diff)
parent82e60de7277a9dc569c983d913a24b870c3ee2b8 (diff)
downloadcpython-9ab09d129e7908d58f8141cbf0ef824c1037a7e4.zip
cpython-9ab09d129e7908d58f8141cbf0ef824c1037a7e4.tar.gz
cpython-9ab09d129e7908d58f8141cbf0ef824c1037a7e4.tar.bz2
Merge debug print removal with 3.2.
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 cc424f6..a89d7e4 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)