summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_getopt.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-7/+7
| | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
* Patch #1550800: make exec a function.Georg Brandl2006-09-061-1/+1
|
* avoid fragility: make sure POSIXLY_CORRECT is completely controlledFred Drake2004-08-031-1/+10
| | | | for the tests, and restored properly when done
* nice tests dont leave little suprises in the environAnthony Baxter2004-08-031-0/+1
|
* Use test_support.run_doctest()Raymond Hettinger2003-05-171-3/+3
|
* Add doctest for example in the library reference.Raymond Hettinger2003-04-291-0/+40
|
* 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. :)
* Patch 473512: add GNU style scanning as gnu_getopt.Martin v. Löwis2002-06-061-0/+20
|
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-32/+32
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Add test case for SF bugTim Peters2000-12-271-0/+9
| | | | https://sourceforge.net/bugs/?func=detailbug&bug_id=126863&group_id=5470
* Don't reference a module named test.test_support. Always use plainGuido van Rossum2000-08-211-1/+1
| | | | test_support. Also fixed the expected output.
* David Goodger's new getopt test module (thanks, David!).Tim Peters2000-08-201-0/+101
https://sourceforge.net/patch/?func=detailpatch&patch_id=101110&group_id=5470 Accepted as-is, except for purging an "import *".