summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Support for augmented assignment in the UserList, UserDict, UserString andThomas Wouters2000-08-242-0/+280
| | | | | | rfc822 (Addresslist) modules. Also a preliminary testcase for augmented assignment, which should actually be merged with the test_class testcase I added last week.
* Updated test suite: test repr() and str() of cookies, and test metadataAndrew M. Kuchling2000-08-242-1/+15
| | | | fields with quoted values (as in Path="/acme")
* Charles G. Waldman <cgq@fnal.gov>:Fred Drake2000-08-242-18/+4
| | | | | | | Update the test suite for the changes introduced by the EXTENDED_ARG opcode. This closes the regression test changes of SourceForge patch #100893.
* style nitsJeremy Hylton2000-08-231-4/+8
|
* When skipping a test, do not include a spurious space between the exceptionFred Drake2000-08-231-1/+1
| | | | name and the ":" that separates it from the value. (Minor cleanup.)
* test case output for dospath regr testSkip Montanaro2000-08-231-0/+2
|
* new test - like test_ntpath but without splitunc test casesSkip Montanaro2000-08-231-0/+49
|
* added commonprefix test casesSkip Montanaro2000-08-231-0/+6
|
* updated to correct failing test casesSkip Montanaro2000-08-231-2/+2
|
* Rehabilitate autotest.py.Tim Peters2000-08-232-1/+40
| | | | | In README: Write up (Guido's) rules for intra-test imports; warn against asserts; document test_support.use_large_resources.
* require list comprehensions to start with a for clauseSkip Montanaro2000-08-222-0/+7
|
* Don't reference a module named test.test_support. Always use plainGuido van Rossum2000-08-212-7/+1
| | | | test_support. Also fixed the expected output.
* Add a minimal test suite for the parser module.Fred Drake2000-08-212-0/+152
|
* Add TestSkipped as another interesting item defined by test_support.Fred Drake2000-08-211-0/+4
|
* PEP 214, Extended print Statement, has been accepted by the BDFL.Barry Warsaw2000-08-212-0/+23
| | | | Additional test cases for the extended print form.
* Remove the winreg module from the project. I don't believe anyTim Peters2000-08-212-427/+0
| | | | | | | docs changes are needed (only reference to winreg I could find was in libwinreg.tex, which is documenting _winreg, and merely mentions that a higher-level winreg module *may* appear someday; that's still true).
* David Goodger's new getopt test module (thanks, David!).Tim Peters2000-08-202-0/+108
| | | | | https://sourceforge.net/patch/?func=detailpatch&patch_id=101110&group_id=5470 Accepted as-is, except for purging an "import *".
* Adding tests of the "attrs" optional argument, and of the js_outputMoshe Zadka2000-08-192-0/+20
| | | | functionality.
* Test case for Cookie.pyAndrew M. Kuchling2000-08-192-0/+33
|
* Better conformance to the Python Style Guide: use spaces around operators.Fred Drake2000-08-181-32/+33
|
* When a KeyboardInterrupt is caught, just use the "raise" syntax toFred Drake2000-08-181-2/+2
| | | | re-raise it instead of re-raising it "manually" the ugly way.
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-182-2/+4
|
* Apply SF patch #101135, adding 'import module as m' and 'from module importThomas Wouters2000-08-172-0/+34
| | | | | | | | name as n'. By doing some twists and turns, "as" is not a reserved word. There is a slight change in semantics for 'from module import name' (it will now honour the 'global' keyword) but only in cases that are explicitly undocumented.
* Apply SF patch #101029: call __getitem__ with a proper slice object if thereThomas Wouters2000-08-172-0/+320
| | | | | | | | is no __getslice__ available. Also does the same for C extension types. Includes rudimentary documentation (it could use a cross reference to the section on slice objects, I couldn't figure out how to do that) and a test suite for all Python __hooks__ I could think of, including the new behaviour.
* Chris Herborth <chrish@pobox.com>:Fred Drake2000-08-151-0/+9
| | | | | | | | | Minor updates for BeOS R5. Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding change in BeOS/README (by Fred). This closes SourceForge patch #100978.
* Update test output to reflect change in SyntaxError formatting.Fred Drake2000-08-151-1/+1
| | | | This closes SourceForge bug #110628 (Jitterbug PR#278).
* tests for binascii.b2a_hex() and binascii.a2b_hex().Barry Warsaw2000-08-151-0/+19
|
* Added a test of the md5.hexdigest() method. Funny enough, this testBarry Warsaw2000-08-151-0/+6
| | | | | had yet-another Python implementation of a binary-data-to-hex-digit encoder!
* Remove the test for abspath with an empty path - too hard to do in a ↵Mark Hammond2000-08-141-1/+0
| | | | cross-platform manner.
* Test for fix to bug #110673: os.abspatth() now always returns os.getcwd() on ↵Mark Hammond2000-08-141-0/+5
| | | | Windows, if an empty path is specified. It previously did not if an empty path was delegated to win32api.GetFullPathName())
* Check in the correct output - even though the module itself may not survive!Mark Hammond2000-08-141-0/+76
|
* list comprehensions. seeSkip Montanaro2000-08-122-0/+47
| | | | | | http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details.
* Add largefile support for Linux64 and WIn64. Add test_largefile and some minorTrent Mick2000-08-113-7/+142
| | | | | | | | | | change to regrtest.py to allow optional running of test_largefile ('cause it's slow on Win64). This closes patches: http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100510&group_id=5470 and http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100511&group_id=5470
* remove all occurence of math.rint() from the sourcesPeter Schneider-Kamp2000-08-102-13/+0
| | | | (and yes, "Currintly" also counts <0.5 wink>)
* -- changed findall to return empty strings instead of NoneFredrik Lundh2000-08-091-0/+1
| | | | for undefined groups
* -- enabled some temporarily disabled RE testsFredrik Lundh2000-08-083-6/+39
| | | | | -- added basic unicode tests to test_re -- added test case for Sjoerd's xmllib problem to re_tests
* -- whitespace cleanup (real changes coming in next checkin)Fredrik Lundh2000-08-081-20/+20
|
* -- whitespace cleanup (more tests to be added in the next commit)Fredrik Lundh2000-08-081-23/+23
|
* Barry's patch to test the new setdefault() method.Guido van Rossum2000-08-081-0/+12
|
* Removing UTF-16 aware Unicode comparison code. This kind of compareMarc-André Lemburg2000-08-082-51/+53
| | | | | | | function (together with other locale aware ones) should into a new collation support module. See python-dev for a discussion of this removal. Note: This patch should also be applied to the 1.6 branch.
* Neil Schemenauer: GC enable(), disable(), isenabled() interface.Vladimir Marangozov2000-08-061-0/+12
| | | | | | Small stylistic changes by VM: - is_enabled() -> isenabled() - static ... Py_<func> -> static ... gc_<func>
* Oooopsss.....tab and space mismatch corrected.Moshe Zadka2000-08-041-2/+2
|
* Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'Thomas Wouters2000-08-0410-19/+20
| | | | | to signify a test that should be marked as 'skipped' rather than 'failed'. Also 'document' it, in README.
* Raise TestSkipped, not ImportError.Moshe Zadka2000-08-041-2/+2
| | | | Honesty's the best policy.
* Make test_support.TestSkipped errors work the same way as ImportErrors:Thomas Wouters2000-08-041-1/+1
| | | | mark the test as 'skipped', rather than 'failed'.
* In case the user isn't allowed to access /dev/dsp or /dev/dsp isn't thereMoshe Zadka2000-08-041-0/+3
| | | | | | | | | at all (my computer doesn't have a Sound Blaster), this doesn't mean there's a bug in linuxaudiodev. The only error the test suite skips is currently ImportError -- so that's what we raise. If you see a problem with this patch, say so and I'll retract. If you think raising an ImportError sucks, you're right -- but I ain't gonna buy a SB and I sure ain't gonna let the test-suite fail on my machine.
* test the non-multipart sections of the cgi moduleJeremy Hylton2000-08-032-0/+196
|
* Checking in empty tests for urlparse, as future place holdersMoshe Zadka2000-08-032-0/+1
|
* -- added recursion limit (currently ~10,000 levels)Fredrik Lundh2000-08-032-0/+11
| | | | | | | -- improved error messages -- factored out SRE_COUNT; the same code is used by SRE_OP_REPEAT_ONE_TEMPLATE -- minor cleanups
* Added a -l/--leakdebug option which turns on DEBUG_LEAK if the gcBarry Warsaw2000-08-031-12/+23
| | | | module is importable.