summaryrefslogtreecommitdiff
path: root/test/test_execfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Move the test directory to tests to avoid conflicts with the stdlib test ↵Ned Batchelder2013-02-021-116/+0
| | | | package.
* Get rid of import craziness in the tests.Ned Batchelder2012-12-301-2/+1
|
* Add tests and doc for Brandon's -m flag.Ned Batchelder2011-02-061-2/+41
|
* A bunch more places where a file close should be in a finally clause.Ned Batchelder2011-01-301-2/+4
|
* Python source files that don't end with a newline can now be executed, ↵Ned Batchelder2010-02-221-0/+12
| | | | fixing #47.
* Massive eol whitespace clean-up.Ned Batchelder2009-12-021-3/+3
|
* Report errors finding source files to execute more nicely. Fixes issue #23.Ned Batchelder2009-10-251-0/+3
|
* CamelCase looks weird, switch to underscore_separated.Ned Batchelder2009-10-161-1/+1
|
* The best way to get py3k support: same source runs on both, with some ↵Ned Batchelder2009-09-221-1/+3
| | | | contortions.
* Py3k: bytes vs. strings, and one more print statement.Ned Batchelder2009-07-081-2/+2
|
* Various Py3k fixes: remove gratuitous print, don't test the print statement, ↵Ned Batchelder2009-07-081-1/+1
| | | | deal with __cmp__ ugliness, etc.
* When executing files, open them in Universal Newline mode, just as Python ↵Ned Batchelder2009-06-271-0/+11
| | | | itself does. Makes it possible to run Python from Windows on Mac, for example.
* More docstringsNed Batchelder2009-05-091-0/+1
|
* Also make __builtins__ available in main programs.Ned Batchelder2009-05-091-1/+4
|
* Change run_python_file again so that it doesn't produce compiled turds in ↵Ned Batchelder2009-05-091-16/+10
| | | | the file system.
* makeFile is more useful if it doesn't append .pyNed Batchelder2009-05-081-0/+14
|
* Line length < 80.Ned Batchelder2009-04-191-1/+2
|
* Commonalize more of the test case code.Ned Batchelder2009-04-181-18/+7
|
* Finally realized that unit test classes should be named like any other ↵Ned Batchelder2009-04-171-1/+1
| | | | class: after the instance they create.
* Pylint tweaksNed Batchelder2009-04-121-2/+4
|
* Even better execution of main files.Ned Batchelder2009-04-041-3/+28
|
* Factor execfile out of cmdline, so that we can call python main programs ↵Ned Batchelder2009-04-031-0/+19
properly: now they get the correct value for __file__.