Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add two tests for the script interface. | Walter Dörwald | 2005-12-15 | 1 | -5/+19 |
| | |||||
* | added cElementTree tests | Fredrik Lundh | 2005-12-15 | 2 | -0/+204 |
| | |||||
* | Revert r41662 and the part of 41552 that originally caused the problem | Neal Norwitz | 2005-12-15 | 1 | -7/+0 |
| | | | | | (calling ftell(stdin) doesn't seem defined). So we won't test errors from ftell unless we can do it portably. | ||||
* | If quopri uses the implementations from binascii do the tests a second time | Walter Dörwald | 2005-12-14 | 1 | -10/+35 |
| | | | | | using the Python implementations of the functions. This imcreases code coverage and makes sure that both implementations do the same thing. | ||||
* | Subversion settings: | Armin Rigo | 2005-12-14 | 1 | -339/+339 |
| | | | | | | | | | svn:ignore *.pyc *.pyo svn:eol-style native The .py files appear to have been checked in with Windows or inconsistent line endings. The current check-in disrupts the 'svn blame', but hopefully it is irrelevant for freshly imported code. | ||||
* | move the xml package implementation to xmlcore, and adjust the tests to | Fred Drake | 2005-12-14 | 3 | -68/+70 |
| | | | | | test that package, not the xmlcore/PyXML switcheroo fiasco in the xml module/package | ||||
* | Fix test not to fail on FreeBSD. Directories work also as data | Hye-Shik Chang | 2005-12-13 | 1 | -0/+4 |
| | | | | files on the platform. | ||||
* | skip NIS entries, empty entries, etc | Fredrik Lundh | 2005-12-12 | 2 | -2/+4 |
| | |||||
* | skip nis entries, if not filtered out by getpwall itself | Fredrik Lundh | 2005-12-12 | 1 | -0/+2 |
| | |||||
* | added xml.etree test (enough of the ElementTree selftest to | Fredrik Lundh | 2005-12-12 | 1 | -0/+339 |
| | | | | make sure that all included components work) | ||||
* | r1068@spiff: Fredrik | 2005-12-12 19:50:30 +0100 | Fredrik Lundh | 2005-12-12 | 1 | -0/+1 |
| | | | | assorted xml.etree tweaks | ||||
* | SF #1377897, Bus error in ast | Neal Norwitz | 2005-12-11 | 1 | -0/+4 |
| | | | | | | If a line had multiple semi-colons and ended with a semi-colon, we would loop too many times and access a NULL node. Exit the loop early if there are no more children. | ||||
* | Patch #1276356: Implement new resource "urlfetch" for regrtest. | Hye-Shik Chang | 2005-12-10 | 9 | -74/+26 |
| | | | | | This enables even impatient people to run tests that require remote files such as test_normalization and test_codecmaps_*. | ||||
* | mwh spotted a copied error message, make it unique (and correct) | Neal Norwitz | 2005-12-05 | 1 | -1/+1 |
| | |||||
* | Fix SF #1373161, r41552 broke test_file on OS X | Neal Norwitz | 2005-12-05 | 1 | -1/+1 |
| | | | | | You apparently can seek(0) on sys.stdin on OS X. But you can't go backwards, so seek(-1). | ||||
* | [Bug #1164912] Ensure Datetime wrapper class .value attribute is an 8-bit ↵ | Andrew M. Kuchling | 2005-12-04 | 1 | -0/+10 |
| | | | | string, not a Unicode string | ||||
* | Test another error case in PyFloat_FromString(). | Walter Dörwald | 2005-11-29 | 1 | -0/+2 |
| | |||||
* | Improve test coverage. Hope the test_file changes work the same on windows. | Neal Norwitz | 2005-11-27 | 5 | -0/+75 |
| | |||||
* | SF patch #1364545: test_cmd_line.py relied on english error messages when | Walter Dörwald | 2005-11-25 | 1 | -13/+12 |
| | | | | | invoking the Python interpreter (which didn't work on non-english Windows versions). Check return codes instead. | ||||
* | Test is still disabled, but access through public module | Neal Norwitz | 2005-11-25 | 1 | -2/+2 |
| | |||||
* | Cleanup a bit more references so test_urllibnet is stable (test_urllib2 is ↵ | Neal Norwitz | 2005-11-25 | 1 | -2/+4 |
| | | | | sometimes stable, at least in isolation) | ||||
* | Fix typo in comment. | Neal Norwitz | 2005-11-24 | 1 | -1/+2 |
| | | | | | | Delete globals which contain variable information at the end of the test. This makes the test stable (no reported leaks) when running regrtest -R to find reference leaks. | ||||
* | Move registration of the codec search function to the module scope | Neal Norwitz | 2005-11-24 | 1 | -17/+18 |
| | | | | | | so it is only executed once. Otherwise the same search function is repeated added to the codec search path when regrtest is run with -R and leaks are reported. | ||||
* | move test into a unittest.TestCase, no functional changes | Neal Norwitz | 2005-11-24 | 1 | -74/+74 |
| | |||||
* | [Patch #1094164] replaceChild(x,x) ends up removing x of the tree. Add fix ↵ | Andrew M. Kuchling | 2005-11-22 | 1 | -0/+11 |
| | | | | from Felix Rabe and a test case | ||||
* | [Patch #1350573] zlib.crc32 doesn't handle 0xffffffff seed. Add tests and ↵ | Andrew M. Kuchling | 2005-11-22 | 1 | -0/+2 |
| | | | | bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo. | ||||
* | improve test coverage in Python/pystrtod.c and Python/mystrtoul.c. | Neal Norwitz | 2005-11-22 | 1 | -0/+29 |
| | |||||
* | Add a test for uu.encode() that passed filenames as | Walter Dörwald | 2005-11-21 | 1 | -0/+8 |
| | | | | in_file and out_file. | ||||
* | Add a rudimentary test for the platform module that at least calls each | Walter Dörwald | 2005-11-21 | 1 | -0/+74 |
| | | | | documented function once. | ||||
* | Increase code coverage in Python/structmember.c from 33% to 40% | Walter Dörwald | 2005-11-18 | 1 | -0/+8 |
| | | | | (by forcing a call to the listmember() function). | ||||
* | Add tests to increase code coverage in Python/codecs.c and Python/exceptions.c. | Walter Dörwald | 2005-11-17 | 2 | -2/+150 |
| | |||||
* | Add tests for various error cases and for readbuffer_encode() and | Walter Dörwald | 2005-11-17 | 2 | -2/+72 |
| | | | | | charbuffer_encode(). This increases code coverage in Modules/_codecsmodule.c from 83% to 95%. | ||||
* | Added proper reflection on instances of <type 'method-wrapper'>, e.g. | Armin Rigo | 2005-11-07 | 1 | -0/+13 |
| | | | | | | | | '[].__add__', to match what the other internal descriptor types provide: '__objclass__' attribute, '__self__' member, and reasonable repr and comparison. Added a test. | ||||
* | similar to SF bug 847019: a quick check in the time() constructor, which | Armin Rigo | 2005-11-07 | 1 | -0/+7 |
| | | | | | | accepts strings only for unpickling reasons. This check prevents the honest mistake of passing a string like '2:59.0' to time() and getting an insane object. | ||||
* | Oops, forgot to add the output file to 41388. | Neal Norwitz | 2005-11-03 | 1 | -0/+2 |
| | |||||
* | Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxint | Neal Norwitz | 2005-11-03 | 1 | -0/+20 |
| | | | | | | Need to check return result of PyInt_AsLong() Will backport. | ||||
* | Change time.strptime() to raise ValueError whenever there is an error in the | Brett Cannon | 2005-11-02 | 1 | -2/+12 |
| | | | | | | | format string. Before exceptions generated by the internal code propagated up to the user and were not helpful. Closes bug #1340337. | ||||
* | Fix SF #1345263, colorsys tests, bug in frange | Neal Norwitz | 2005-11-02 | 1 | -1/+1 |
| | | | | | | Fix a typo that caused step to be ignored. Will backport. | ||||
* | test_directories(): This test had no chance of passing on | Tim Peters | 2005-10-30 | 1 | -2/+14 |
| | | | | | Windows. Hacked it to pass, but not sure it's worth the bother. | ||||
* | fix typos, mostly in comments | Fred Drake | 2005-10-28 | 2 | -2/+2 |
| | |||||
* | Patch #1338314, Bug #1336623: fix tarfile so it can extract | Neal Norwitz | 2005-10-28 | 1 | -0/+30 |
| | | | | | | REGTYPE directories from tarfiles written by old programs. Will backport. | ||||
* | Fix problem handling EXTENDED_ARGs from SF bug # 1333982 | Neal Norwitz | 2005-10-24 | 1 | -0/+23 |
| | |||||
* | Fix compiler test when run with -u (long mode) | Neal Norwitz | 2005-10-24 | 1 | -1/+1 |
| | |||||
* | Fix arigo's funky LOAD_NAME bug: implicit globals inside classes have | Neil Schemenauer | 2005-10-23 | 1 | -0/+9 |
| | | | | | historically been looked up using LOAD_NAME, not LOAD_GLOBAL. looked up by LOAD_NAME, not | ||||
* | Revert previous checkin: | Neal Norwitz | 2005-10-22 | 1 | -1/+1 |
| | | | | | | According to Jeremy, the comment only made sense when the yield was disallowed. Now it's testing that the yield is allowed, so it's not bad and the outer finally is irrelevant. | ||||
* | Revert change, func_name of lambda's is back to <lambda>. | Neil Schemenauer | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Fix bug: | Michael W. Hudson | 2005-10-21 | 2 | -0/+20 |
| | | | | | | | | [ 1327110 ] wrong TypeError traceback in generator expressions by removing the code that can stomp on the users' TypeError raised by the iterable argument to ''.join() -- PySequence_Fast (now?) gives a perfectly reasonable message itself. Also, a couple of tests. | ||||
* | Fix SF bug #1167751, Argument genexp corner case | Neal Norwitz | 2005-10-21 | 1 | -2/+14 |
| | | | | | | | | | | | | | Incorrect code was generated for: foo(a = i for i in range(10)) This should have generated a SyntaxError. Fix the Grammar so it raises a SyntaxError and test it. I'm uncertain whether this should be backported. It makes something that was Syntactically valid invalid. However, the code would either be completely broken or do the wrong thing. | ||||
* | Add comment lost from AST merge | Neal Norwitz | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Merge ast-branch to head | Jeremy Hylton | 2005-10-20 | 12 | -70/+214 |
| | | | | | | | | | | This change implements a new bytecode compiler, based on a transformation of the parse tree to an abstract syntax defined in Parser/Python.asdl. The compiler implementation is not complete, but it is in stable enough shape to run the entire test suite excepting two disabled tests. |