summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future3.py
Commit message (Collapse)AuthorAgeFilesLines
* #17303: test_future* now work with unittest test discovery. Patch by ↵Ezio Melotti2013-02-271-5/+1
| | | | Zachary Ware.
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-2/+2
|
* Fixed test and converted to unittest format.Raymond Hettinger2003-07-151-6/+25
| | | | | Checking // would call floor division but did not test that true division had become the default with 'from __future__ import division'.
* Add test case to cover multiple future statements on separate lines ofJeremy Hylton2001-08-201-0/+11
| | | | a module.
* Fix compileall.py so that it fails on SyntaxErrorsJeremy Hylton2001-04-181-10/+0
| | | | | | | | | | | | | | | | | | | | | The changes cause compilation failures in any file in the Python installation lib directory to cause the install to fail. It looks like compileall.py intended to behave this way, but a change to py_compile.py and a separate bug defeated it. Fixes SF bug #412436 This change affects the test suite, which contains several files that contain intentional errors. The solution is to extend compileall.py with the ability to skip compilation of selected files. In the test suite, rename nocaret.py and test_future[3..7].py to start with badsyntax_nocaret.py and badsyntax_future[3..7].py. Update the makefile to skip compilation of these files. Update the tests to use the name names for imports. NB compileall.py is changed so that compile_dir() returns success only if all recursive calls to compile_dir() also check success.
* Add regression test for future statements. This adds eight files, butJeremy Hylton2001-02-281-0/+10
seven are not tests in their own right; these files are mentioned in regrtest.