[issue13406] Deprecation warnings when running the test suite

2011-11-17 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset fe2be7d35660 by Ezio Melotti in branch 'default':
#13406: fix more deprecation warnings and move the deprecation of 
unicode-internal earlier in the code.
http://hg.python.org/cpython/rev/fe2be7d35660

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13406
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13406] Deprecation warnings when running the test suite

2011-11-16 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

Should be fixed now.

--
assignee:  - ezio.melotti
resolution:  - fixed
stage: needs patch - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13406
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13406] Deprecation warnings when running the test suite

2011-11-15 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset 4f534cd40f54 by Ezio Melotti in branch 'default':
#13406: silence deprecation warnings in test_codecs.
http://hg.python.org/cpython/rev/4f534cd40f54

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13406
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13406] Deprecation warnings when running the test suite

2011-11-15 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset 028b61c4f926 by Ezio Melotti in branch 'default':
#13406: correct the error message in check_warnings too.
http://hg.python.org/cpython/rev/028b61c4f926

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13406
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13406] Deprecation warnings when running the test suite

2011-11-14 Thread Antoine Pitrou

New submission from Antoine Pitrou pit...@free.fr:

Now that the unicode-internal codec is deprecated, the test suite spouts some 
warning (in test_codecs, test_codeccallbacks and test_unicode). Example:

[344/361] test_codecs
/home/antoine/cpython/default/Lib/test/test_codecs.py:1024: DeprecationWarning: 
unicode_internal codecs has been deprecated
  self.assertEqual(uni, internal.decode(unicode_internal))
/home/antoine/cpython/default/Lib/unittest/case.py:135: DeprecationWarning: 
unicode_internal codecs has been deprecated
  callable_obj(*args, **kwargs)
/home/antoine/cpython/default/Lib/test/test_codecs.py:1047: DeprecationWarning: 
unicode_internal codecs has been deprecated
  ab = ab.encode(unicode_internal).decode()
/home/antoine/cpython/default/Lib/test/test_codecs.py:1050: DeprecationWarning: 
unicode_internal codecs has been deprecated
  UnicodeInternalTest)
/home/antoine/cpython/default/Lib/test/test_codecs.py:1034: DeprecationWarning: 
unicode_internal codecs has been deprecated
  b\x00\x00\x00\x00\x00\x11\x11\x00.decode(unicode_internal)
/home/antoine/cpython/default/Lib/test/test_codecs.py:1056: DeprecationWarning: 
unicode_internal codecs has been deprecated
  self.assertEqual(encoder(a)[1], 1)
/home/antoine/cpython/default/Lib/test/test_codecs.py:1057: DeprecationWarning: 
unicode_internal codecs has been deprecated
  self.assertEqual(encoder(\xe9\u0142)[1], 2)
/home/antoine/cpython/default/Lib/test/test_codecs.py:1515: DeprecationWarning: 
unicode_internal codecs has been deprecated
  (b, size) = codecs.getencoder(encoding)(s)
/home/antoine/cpython/default/Lib/test/test_codecs.py:1517: DeprecationWarning: 
unicode_internal codecs has been deprecated
  (chars, size) = codecs.getdecoder(encoding)(b)

--
components: Tests
keywords: easy
messages: 147637
nosy: ezio.melotti, haypo, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: Deprecation warnings when running the test suite
type: behavior
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13406
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com