Bugs item #1123354, was opened at 2005-02-15 14:49
Message generated for change (Comment added) made by tim_one
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1123354&group_id=5470
Category: Python Interpreter Core
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Raymond Hettinger (rhettinger)
Summary: test_peepholer failing on HEAD
Initial Comment:
On WinXP with current CVS HEAD:
FAIL: test_folding_of_binops_on_constants
(__main__.TestTranforms)
------------------------------------------------------
----------------
Traceback (most recent call last):
File "../lib/test/test_peepholer.py", line 134, in
test_folding_of_binops_on_constants
self.assert_('(1000)' in asm)
AssertionError
and asm contains the big string 'x'*1000 instead.
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2005-02-15 18:03
Message:
Logged In: YES
user_id=31435
Well, I'm using rt.bat from PCbuild to run the tests. That
deletes all the .pyc and .pyo files reachable from Lib before
running the tests. So, no, deleting .pyc doesn't matter here.
...\PCbuild>python rmpyc.py
81 .pyc deleted, 0 .pyo deleted
...\PCbuild>dir/s/b ..\Lib\*.pyc ..\Lib\*.pyo
File Not Found
...\PCbuild>rt test_peepholer
Deleting .pyc/.pyo files ...
14 .pyc deleted, 0 .pyo deleted
...\PCbuild>python -E -tt ../lib/test/regrtest.py
test_peepholer
test_peepholer
test test_peepholer failed -- Traceback (most recent call
last):
File "C:\Code\python\lib\test\test_peepholer.py", line 134,
in test_folding_of_binops_on_constants
self.assert_('(1000)' in asm)
AssertionError
1 test failed:
test_peepholer
About to run again without deleting .pyc/.pyo first:
Press any key to continue . . .
Terminate batch job (Y/N)? y
Is it possible, e.g., that you have an unchecked-in change on
your development machine?
----------------------------------------------------------------------
Comment By: Raymond Hettinger (rhettinger)
Date: 2005-02-15 17:49
Message:
Logged In: YES
user_id=80475
Can you confirm that it works after deleting the pyc file?
If so, I'll bump the magic number.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1123354&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com