[ python-Bugs-1006001 ] FutureWarning when running regression tests

SourceForge.net noreply at sourceforge.net
Wed Aug 11 10:14:44 CEST 2004


Bugs item #1006001, was opened at 2004-08-10 00:56
Message generated for change (Comment added) made by ncoghlan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1006001&group_id=5470

Category: None
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Viktor Ferenczi (complex)
Assigned to: Nobody/Anonymous (nobody)
Summary: FutureWarning when running regression tests

Initial Comment:
Python: 2.4a2, windows installer (MSI)
OS: WinXP Prog ENG

Warning is raised when running regrtest.py:

C:\Python23\lib\test\test_format.py:19: FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up
  result = formatstr % args
Traceback (most recent call last):
  File "C:\Python24\Lib\test\regrtest.py", line 1130, in ?
    main()
  File "C:\Python24\Lib\test\regrtest.py", line 359, in main
    e = _ExpectedSkips()
  File "C:\Python24\Lib\test\regrtest.py", line 1063, in __init__
    from test import test_codecmaps_cn, test_codecmaps_jp
ImportError: cannot import name test_codecmaps_cn

----------------------------------------------------------------------

Comment By: Nick Coghlan (ncoghlan)
Date: 2004-08-11 18:14

Message:
Logged In: YES 
user_id=1038590

This is fixed in 2.4 CVS, as the test has been converted to
look for the new signed strings, and future warning is gone.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1006001&group_id=5470


More information about the Python-bugs-list mailing list