summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dis.py
Commit message (Collapse)AuthorAgeFilesLines
* test_bug_1333982(): This one must fail under -O.Tim Peters2005-12-251-1/+4
| | | | All the --all test pass using -O on WinXP now.
* Fix Armin's bug 1333982. He found it, he didn't created it :-)Neal Norwitz2005-12-181-0/+40
| | | | | | | | | | This code generated a C assertion: assert 1, ([s for s in x] + [s for s in x]) pass assert was completely broken, it needed to use the proper block. compiler_use_block() is now no longer used, so remove it.
* SF Patch #1013667: Cleanup Peepholer OutputRaymond Hettinger2004-08-231-2/+0
| | | | | | | | | * Make a pass to eliminate NOPs. Produce code that is more readable, more compact, and a tiny bit faster. Makes the peepholer more flexible in the scope of allowable transformations. * With Guido's okay, bumped up the magic number so that this patch gets widely exercised before the alpha goes out.
* Delete comment my last checkin rendered obsolete.Michael W. Hudson2003-04-301-2/+0
| | | | | I should also not that my last checkin did stuff that made failures give more helpful information.
* Use Tim's suggestion to fixMichael W. Hudson2003-04-291-14/+51
| | | | | | | | | [ 708901 ] Lineno calculation sometimes broken A one line patch to compile.c and a rather-more-than-one-line patch to test_dis. Hey ho. Possibly a backport candidate -- tho' lnotab is less used in 2.2...
* This test relied on significant trailing whitespace in a string literal.Tim Peters2003-03-071-7/+12
| | | | Evil.
* simple test case for dis moduleSkip Montanaro2003-02-271-0/+53