Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added tests expected to be skipped on Mac OS X. | Jack Jansen | 2001-12-02 | 1 | -0/+21 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-12-01 | 1 | -1/+0 |
| | |||||
* | Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the | Jack Jansen | 2001-11-30 | 1 | -0/+1 |
| | | | | changes from start of branch upto r22b2 were already merged, of course). | ||||
* | Adding test for Unicode repr()-output. | Marc-André Lemburg | 2001-11-28 | 1 | -0/+15 |
| | |||||
* | __format(): Applied SF patch #482003 by Skip to fix multiline dict | Barry Warsaw | 2001-11-28 | 1 | -0/+19 |
| | | | | | | | | output. Patch includes additional test case test_basic_line_wrap(). This patch is a candidate for Python 2.1.2. | ||||
* | test_formatdate(): Integrating Jack's 22b2 branch fix for Mac epoch: | Barry Warsaw | 2001-11-27 | 1 | -3/+4 |
| | | | | | | | | More changes to the formatdate epoch test: the Mac epoch is in localtime, so east of GMT it falls in 1903:-( Changed the test to obtain the epoch in both local time and GMT, and do the right thing in the comparisons. As a sanity measure also check that day/month is Jan 1. | ||||
* | - Change all remaining assertions into verify() and vereq() calls. | Guido van Rossum | 2001-11-24 | 1 | -14/+42 |
| | | | | | | - Add tests for the recent fixes to copy_reg.py: __getstate__/__setstate__ and mixed inheritance from new+classic classes. | ||||
* | Fix for bug #438164: %-formatting using Unicode objects. | Marc-André Lemburg | 2001-11-20 | 1 | -4/+1 |
| | | | | | This patch also does away with an incompatibility between Jython and CPython. | ||||
* | Fix for bug #480188: printing unicode objects | Marc-André Lemburg | 2001-11-20 | 2 | -0/+26 |
| | |||||
* | test_formatdate(): Remove the unnecessary ldate calculation. | Barry Warsaw | 2001-11-19 | 1 | -3/+6 |
| | | | | | test_formatdate_zoneoffsets() => test_formatdate_localtime(): Do the sign corrected calculation of the zone offset. | ||||
* | test_formatdate(), test_formatdate_zoneoffsets(): Two changes. First, | Barry Warsaw | 2001-11-19 | 1 | -17/+16 |
| | | | | | | | | | | | use the correct way to test for epoch, by looking at the year component of gmtime(0). Add clause for Unix epoch and Mac epoch (Tim, what is Windows epoch?). Also, get rid of the strptime() test, it was way too problematic given that strptime() is missing on many platforms and issues with locales. Instead, simply test that formatdate() gets the numeric timezone calculation correct for the altzone and timezone. | ||||
* | test_formatdate(): A test that has a mild hope of working on Mac, | Barry Warsaw | 2001-11-18 | 1 | -1/+11 |
| | | | | | which has a different epoch than *nix. Jack may need to twiddle the details. | ||||
* | More simple test cases for mixed classic+new multiple inheritance. | Tim Peters | 2001-11-14 | 1 | -0/+35 |
| | |||||
* | Changing diapers reminded Guido that he wanted to allow for some measure | Tim Peters | 2001-11-14 | 1 | -8/+47 |
| | | | | | | of multiple inheritance from a mix of new- and classic-style classes. This is his patch, plus a start at some test cases from me. Will check in more, plus a NEWS blurb, later tonight. | ||||
* | Removed print that executes only on Unix boxes; that made it impossible | Tim Peters | 2001-11-13 | 1 | -2/+2 |
| | | | | to have single "expected output" file. | ||||
* | CVS patch #477161: New "access" keyword for mmap, from Jay T Miller. | Tim Peters | 2001-11-13 | 2 | -13/+138 |
| | | | | | | | | | | This gives mmap() on Windows the ability to create read-only, write- through and copy-on-write mmaps. A new keyword argument is introduced because the mmap() signatures diverged between Windows and Unix, so while they (now) both support this functionality, there wasn't a way to spell it in a common way without introducing a new spelling gimmick. The old spellings are still accepted, so there isn't a backward- compatibility issue here. | ||||
* | Don't munge __debug__ and leave it that way. | Jeremy Hylton | 2001-11-13 | 1 | -0/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-11-13 | 3 | -5/+4 |
| | |||||
* | A specific test for bug #481221, getaddrlist() failing on long | Barry Warsaw | 2001-11-13 | 1 | -0/+8 |
| | | | | addresses. Commented out because it still takes too long to run. | ||||
* | Committing the second part of patch #480902, an improved test suite | Barry Warsaw | 2001-11-13 | 1 | -31/+66 |
| | | | | | for dumbdbm.py, by Skip Montanaro. The first half of Skip's patch has been postponed until Py2.3 since it adds new features. | ||||
* | Add tests for bug #478115, parsedate_tz() IndexError when a Date: | Barry Warsaw | 2001-11-13 | 2 | -0/+11 |
| | | | | field exists with an empty value. | ||||
* | getnameinfo() appears to raise socket.error instead of | Barry Warsaw | 2001-11-09 | 1 | -1/+1 |
| | | | | | socket.gaierror. :( This allows test_socket to pass on a RH6.1-ish Linux system. | ||||
* | Fix SF buf #480096: Assign to __debug__ still allowed | Jeremy Hylton | 2001-11-09 | 1 | -1/+0 |
| | | | | | | Easy enough to catch assignment in the compiler. The perverse user can still change the value of __debug__, but that may be the least he can do. | ||||
* | Fix SF buf #480096: Assign to __debug__ still allowed | Jeremy Hylton | 2001-11-09 | 1 | -1/+13 |
| | | | | | | Easy enough to catch assignment in the compiler. The perverse user can still change the value of __debug__, but that may be the least he can do. | ||||
* | Fiddle with new test cases -- verify that we get a sensible error | Jeremy Hylton | 2001-11-09 | 1 | -4/+7 |
| | | | | | | | message for bad mode argument -- so that it doesn't fail on Windows. It's hack. We know that errno is set to 0 in this case on Windows, so check for that specifically. | ||||
* | test_formatdate(): Dang. Typo. | Barry Warsaw | 2001-11-09 | 1 | -1/+1 |
| | |||||
* | test_formatdate(): Don't do the localtime test if we don't have | Barry Warsaw | 2001-11-09 | 1 | -10/+12 |
| | | | | strptime() -- I'm too lazy to code it otherwise. | ||||
* | test_formatdate(): A test for email.Utils.formatdate(). | Barry Warsaw | 2001-11-09 | 1 | -0/+16 |
| | |||||
* | Fix SF buf #476953: Bad more for opening file gives bad msg. | Jeremy Hylton | 2001-11-09 | 1 | -0/+11 |
| | | | | | | If fopen() fails with EINVAL it means that the mode argument is invalid. Return the mode in the error message instead of the filename. | ||||
* | Add a regression test for SF bug #478536: If a value cannot be weakly | Fred Drake | 2001-11-06 | 1 | -1/+5 |
| | | | | | referenced, WeakKeyDictionary.has_key() should return 0 instead of raising TypeError. | ||||
* | A couple more test cases to ensure join() doesn't add an "extra" backslash | Tim Peters | 2001-11-05 | 1 | -0/+2 |
| | | | | in the presence of empty-string arguments. | ||||
* | SF bug 478425: Change in os.path.join (ntpath.py) | Tim Peters | 2001-11-05 | 1 | -0/+8 |
| | | | | | | ntpath.join('a', '') was producing 'a' instead of 'a\\' as in 2.1. Impossible to guess what was ever *intended*, but since split('a\\') produces ('a', ''), I think it's best if join('a', '') gives 'a\\' back. | ||||
* | Add regression test for SF bug #476616 -- make sure copy of a derived class | Fred Drake | 2001-11-05 | 1 | -0/+4 |
| | | | | does not share data with the original. | ||||
* | Correct getnameinfo refcounting and tuple parsing. Fixes #476648. | Martin v. Löwis | 2001-11-02 | 1 | -0/+14 |
| | |||||
* | [Patch #477336] Add an extensive PyUnit based testsuite for the hmac | Andrew M. Kuchling | 2001-11-02 | 1 | -1/+108 |
| | | | | module | ||||
* | [Patch #476612] Add test suite for PEP247 compliance | Andrew M. Kuchling | 2001-11-02 | 1 | -0/+50 |
| | |||||
* | Fix comment typo | Andrew M. Kuchling | 2001-11-02 | 1 | -1/+1 |
| | |||||
* | Huh. In an effort to be less thorough <wink>, seems I checked in a new | Tim Peters | 2001-10-31 | 1 | -1/+1 |
| | | | | test that wouldn't even compile, | ||||
* | Fix bad bug in structseq slicing (NULL pointers in result). Reported by | Tim Peters | 2001-10-30 | 3 | -5/+21 |
| | | | | | | Jack Jansen on python-dev. Add simple test case. Move vereq() from test_descr to test_support (it's handy!). | ||||
* | Whitespace normalization. | Tim Peters | 2001-10-30 | 2 | -2/+2 |
| | |||||
* | To cover a recent checkin, added a test to ensure dir(None) == dir(Ellipsis). | Tim Peters | 2001-10-30 | 1 | -0/+4 |
| | |||||
* | Just changed some continued-line indentation to read better, due to | Tim Peters | 2001-10-30 | 1 | -3/+3 |
| | | | | the earlier s/dictionary/dict/ change. | ||||
* | Fix SF bug #456386: test_commands regression failure (Andrew Dalke) | Guido van Rossum | 2001-10-30 | 1 | -1/+1 |
| | | | | | | | | | test_commands does not work on IRIX It assumes the output of "ls /bin/ls" is a line that starts with a '-'. On IRIX that file is a symbolic link, so the first character is an l. This causes test_getstatus to fail. | ||||
* | Minimal test for __del__ hook. | Guido van Rossum | 2001-10-30 | 1 | -0/+12 |
| | |||||
* | Rename "dictionary" (type and constructor) to "dict". | Tim Peters | 2001-10-29 | 3 | -47/+47 |
| | |||||
* | SF bug #476138: tempfile behavior across platforms | Tim Peters | 2001-10-29 | 1 | -0/+10 |
| | | | | | Ensure that a tempfile can be closed any number of times without error. This wasn't true on Windows. | ||||
* | Add a test for the insertion of user-provided ADD_INFO records. | Fred Drake | 2001-10-29 | 1 | -2/+12 |
| | |||||
* | Use sendall() in the stream test instead of send(). | Guido van Rossum | 2001-10-29 | 1 | -1/+1 |
| | |||||
* | Test sendall(). | Guido van Rossum | 2001-10-29 | 1 | -1/+1 |
| | |||||
* | added finditer sanity check | Fredrik Lundh | 2001-10-28 | 1 | -0/+11 |
| |