summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* The "more" cmd varies across Windows flavors, sometimes adding strayTim Peters2000-09-011-7/+16
| | | | | | | | newlines at the start or end. Fiddle test_popen2 and popen2._test() to tolerate this. Also change all "assert"s in these tests to raise explicit exceptions, so that python -O doesn't render them useless. Also, in case of error, make the msg display the reprs of what we wrote and what we read, so we can tell exactly why it's failing.
* Applying patch #100994 to allow JPython to use more of the standardBarry Warsaw2000-09-014-12/+19
| | | | | | | | | | | | | Python test suite. Specifically, - import time instead of strop in test_b1 - test for ClassType of exceptions using isinstance instead of equality in test_exceptions - remove __builtins__ from dir() output in test_pkg test_pkg output needs to be regenerated.
* closes bug #112468 (and all the other bugs that surfaced whenFredrik Lundh2000-08-311-15/+38
| | | | I fixed the a bug in the regression test harness...)
* Test case to exercise fix for error propogation bug in dictionarys.Fred Drake2000-08-312-2/+28
|
* fixes bug #111951Jeremy Hylton2000-08-312-0/+15
| | | | | | applies patch #101369 by Moshe Zadke use explicit list of always safe characters instead of string.letters add test case
* Expand the test suite to test both the GNU gettext and translationBarry Warsaw2000-08-302-257/+154
| | | | class-based APIs.
* Fix for two problems on FreeBSD:Andrew M. Kuchling2000-08-291-3/+6
| | | | | | | In test_poll1(), unregister file descriptors as they're closed, and also close the read end of the pipe In test_poll2(), make the code assume less about the combinations of flag bits that will be returned
* Add support for FreeBSD-[45].Guido van Rossum2000-08-291-1/+1
| | | | -- tg@FreeBSD.org
* Added tests of "print >> None"Barry Warsaw2000-08-292-0/+26
|
* Added os.popen2() and os.popen3() for non-Windows platforms.Fred Drake2000-08-282-1/+39
|
* Open binary files in binary mode. Fixes test failure under Windows.Tim Peters2000-08-261-1/+1
|
* Tim Peters:Moshe Zadka2000-08-261-26/+0
| | | | | Again due to the duplicate copies of test_support, the checked-in "expected output" file actually contains verbose-mode output.
* Another new test using "from test.test_support import ...", causingTim Peters2000-08-261-3/+1
| | | | | | | | | | | | | | | subtle breakage on Windows (the test is skipped here, but the TestSkipped exception wasn't recognized as such, because of duplicate copies of test_support got loaded; so the test looks like a failure under Windows instead of a skip). Repaired the import, but THIS TEST *WILL* FAIL ON OTHER SYSTEMS NOW! Again due to the duplicate copies of test_support, the checked-in "expected output" file actually contains verbose-mode output. I can't generate the *correct* non-verbose output on my system. So, somebody please do that.
* Update the parser module to support augmented assignment.Fred Drake2000-08-252-43/+122
| | | | Add some test cases.
* Output of the new testMarc-André Lemburg2000-08-251-0/+1
|
* New test suite for file objects by Jeremy Hilton. This will needMarc-André Lemburg2000-08-251-0/+45
| | | | | to be extended somewhat -- right now it only tests the .writelines() method.
* Closing patch #101120 -- After everyone agreed.Moshe Zadka2000-08-251-3/+13
|
* Group consensus is that supporting alternative locale categories isBarry Warsaw2000-08-251-6/+0
| | | | useless. So the test of the dcgettext() function is removed.
* Set this test up so that we don't have to create xx/LC_MESSAGES in theBarry Warsaw2000-08-251-66/+320
| | | | | cvs tree. It creates the directory and gettext.mo file on the fly, from the base64 encode binary data.
* updated test outputBarry Warsaw2000-08-251-3/+24
|
* output from test_gettext.py test suiteBarry Warsaw2000-08-251-0/+4
|
* Test suite for new gettext.py module.Barry Warsaw2000-08-251-0/+76
|
* Test suite for poll() interface (SF patch #100852)Andrew M. Kuchling2000-08-252-0/+214
|
* 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
|