summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codeop.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2003-06-151-6/+6
|
* minor fix, jython-only. Don't asssume stdout to save is the ur-stdout.Samuele Pedroni2003-05-171-1/+2
|
* beefed up version: jython support, covers now fixed differences between ↵Samuele Pedroni2003-05-171-11/+105
| | | | CPython/Jython.
* - Finally fixed the bug in compile() and exec where a string endingGuido van Rossum2003-02-131-3/+4
| | | | | | | | | with an indented code block but no newline would raise SyntaxError. This would have been a four-line change in parsetok.c... Except codeop.py depends on this behavior, so a compilation flag had to be invented that causes the tokenizer to revert to the old behavior; this required extra changes to 2 .h files, 2 .c files, and 2 .py files. (Fixes SF bug #501622.)
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-1/+7
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* Whitespace normalization.Tim Peters2001-08-091-4/+4
|
* Patch #442866: Tests for codeop.py.Martin v. Löwis2001-07-301-0/+90