Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -12/+12 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | In a number of places code still revers | Ronald Oussoren | 2010-05-05 | 1 | -2/+1 |
| | | | | | | | | | to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk. | ||||
* | #7092: silence some more py3k warnings. | Ezio Melotti | 2010-03-17 | 1 | -2/+3 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -4/+2 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -2/+4 |
| | | | | Patch by flox | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -13/+13 |
| | |||||
* | Revert the renaming of repr to reprlib. | Brett Cannon | 2008-05-23 | 1 | -0/+327 |
| | |||||
* | Rename the test file of reprlib. | Alexandre Vassalotti | 2008-05-16 | 1 | -327/+0 |
| | |||||
* | Changed references to the reprlib module to use its new name. | Alexandre Vassalotti | 2008-05-16 | 1 | -2/+2 |
| | |||||
* | Replace instances of os.path.walk with os.walk | Benjamin Peterson | 2008-05-08 | 1 | -5/+3 |
| | |||||
* | Bug #1153: repr.repr() now doesn't require set and dictionary items | Georg Brandl | 2007-09-12 | 1 | -0/+10 |
| | | | | to be orderable to properly represent them. | ||||
* | Bug #1734723: Fix repr.Repr() so it doesn't ignore the maxtuple attribute. | Neal Norwitz | 2007-06-11 | 1 | -0/+13 |
| | | | | Will backport | ||||
* | Remove unneeded imports of 'warnings'. | Brett Cannon | 2006-12-13 | 1 | -1/+0 |
| | |||||
* | Don't fail if the (sub)pkgname already exist. | Neal Norwitz | 2006-05-30 | 1 | -0/+3 |
| | |||||
* | Revert change, func_name of lambda's is back to <lambda>. | Neil Schemenauer | 2005-10-21 | 1 | -1/+1 |
| | |||||
* | Merge ast-branch to head | Jeremy Hylton | 2005-10-20 | 1 | -1/+1 |
| | | | | | | | | | | 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. | ||||
* | * teach repr.repr() about collections.deque() | Raymond Hettinger | 2004-05-21 | 1 | -0/+4 |
| | | | | * rename a variable for clarity | ||||
* | * Updated repr.py to handle set() and frozenset(). | Raymond Hettinger | 2004-05-21 | 1 | -0/+14 |
| | | | | | | | * Factored out common code to a single private function. * Use str.join() instead of + concatenation * Loop over elements directly instead of using indexing * Use % operator for formatting | ||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -4/+4 |
| | | | | From SF patch #852334. | ||||
* | [680789] Debug with long array takes forever | Tim Peters | 2003-02-05 | 1 | -0/+12 |
| | | | | | Added array.array to the types repr.py knows about, after a suggestion from Jurjen N.E. Bos. | ||||
* | This test previously failed when run from the 'test' directory. In that | Mark Hammond | 2003-01-16 | 1 | -5/+7 |
| | | | | | | | | case, the test module created is actually a sub-package of 'test', thus the module is named 'test.areallylongpackage...' - this caused failure. Replace the hard-coded module names with __name__ attributes, which correctly reflects any hierarchy. | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -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. :) | ||||
* | Remove all tests that rely on deprecated-in-2.2 features of xrange objects. | Fred Drake | 2002-05-02 | 1 | -8/+0 |
| | | | | | "What's New in Python 2.2" documented that these would be removed in Python 2.3. | ||||
* | Tighten up some warning filters, and break some dependencies on the | Tim Peters | 2002-04-16 | 1 | -3/+7 |
| | | | | order in which the tests are normally run. | ||||
* | SF Patch #494872 test repr() of a built-in module | Neal Norwitz | 2001-12-29 | 1 | -0/+1 |
| | |||||
* | Rename "dictionary" (type and constructor) to "dict". | Tim Peters | 2001-10-29 | 1 | -1/+1 |
| | |||||
* | SF patch #474590 -- RISC OS support | Guido van Rossum | 2001-10-24 | 1 | -7/+7 |
| | |||||
* | Change repr() of a new-style class to say <class 'ClassName'> rather | Guido van Rossum | 2001-09-25 | 1 | -1/+1 |
| | | | | | | than <type 'ClassName'>. Exception: if it's a built-in type or an extension type, continue to call it <type 'ClassName>. Call me a wimp, but I don't want to break more user code than necessary. | ||||
* | Change the PyUnit-based tests to use the test_main() approach. This | Fred Drake | 2001-09-20 | 1 | -3/+8 |
| | | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves. | ||||
* | limit prefix test for lambda | Jeremy Hylton | 2001-09-14 | 1 | -1/+1 |
| | | | | | the compiler package generates a module-unique trailing suffix for each lambda | ||||
* | LongReprTest fails on the Mac because it uses filenames with more than | Jack Jansen | 2001-09-05 | 1 | -1/+2 |
| | | | | | | 32 characters per component. This makes mkdir() calls and such fail with EINVAL. For now I am disabling the test on the Mac, and I'll open a bugreport. | ||||
* | Add a test for the final branch in repr.Repr.repr1(), which deals with | Guido van Rossum | 2001-09-05 | 1 | -0/+5 |
| | | | | a default repr() that's longer than 20 characters. | ||||
* | Added lots of tests for reprs of "simple" objects, such as file, | Barry Warsaw | 2001-08-24 | 1 | -0/+156 |
| | | | | | | | lambda (anonymous functions?), function, xrange, buffer, cell (need to fill in), and (some) descriptor types. Also added a new test case for testing repr truncation fixes. | ||||
* | Whitespace normalization. | Tim Peters | 2001-08-09 | 1 | -3/+3 |
| | |||||
* | Test for the repr module, contributed by Nick Mathewson. | Fred Drake | 2001-07-19 | 1 | -0/+108 |
This closes SF patch #440826. |