summaryrefslogtreecommitdiffstats
path: root/Lib/test/bytecode_helper.py
Commit message (Collapse)AuthorAgeFilesLines
* Close #19378: address flaws in the new dis module APIsNick Coghlan2013-11-061-31/+0
| | | | | | | | | | | | | | | - confusing line_offset parameter -> first_line parameter - systematically test and fix new file parameter - remove redundant Bytecode.show_info() API - rename Bytecode.display_code() to Bytecode.dis() and have it return the multi-line string rather than printing it directly - eliminated some not-so-helpful helpers from the bytecode_helper test support module Also fixed a longstanding defect (worked around in the test suite) where lines emitted by the dis module could include trailing white space. That no longer happens, allowing the formatting tests to be simplified to use plain string comparisons.
* Issue #11816: Add missing test helperNick Coghlan2013-05-061-0/+72
This is why I should really use hg import rather than patch, but old habits die hard...