[ python-Bugs-1006001 ] FutureWarning when running regression tests
SourceForge.net
noreply at sourceforge.net
Wed Aug 11 16:38:02 CEST 2004
Bugs item #1006001, was opened at 2004-08-09 10:56
Message generated for change (Comment added) made by akuchling
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: Closed
>Resolution: Invalid
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: A.M. Kuchling (akuchling)
Date: 2004-08-11 10:38
Message:
Logged In: YES
user_id=11375
Closing as suggested by ncoghlan.
----------------------------------------------------------------------
Comment By: Nick Coghlan (ncoghlan)
Date: 2004-08-11 04:21
Message:
Logged In: YES
user_id=1038590
However, the output does suggest that the test execution is
picking up the old Python23 test files, instead of the
Python24 ones.
Are you sure you ran the correct version of the interpreter?
(Windows PATH problems can easily confuse this issue - *not*
putting Python on the path is a very good idea if you want
to run multiple installs)
----------------------------------------------------------------------
Comment By: Nick Coghlan (ncoghlan)
Date: 2004-08-11 04: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