summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unpack.py
Commit message (Collapse)AuthorAgeFilesLines
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+0
|
* Patch #1682205: a TypeError while unpacking an iterable is no longerGeorg Brandl2007-03-211-1/+1
| | | | masked by a generic one with the message "unpack non-sequence".
* Port test_unpack to doctest (patch #736962).Johannes Gijsbers2004-09-241-144/+131
|
* Complete the absolute import patch for the test suite. All relativeBarry Warsaw2002-07-301-1/+1
| | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-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. :)
* Update the code to better reflect recommended style:Fred Drake2000-12-121-7/+7
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Added some single tuple/list unpacking for JPython regression testing.Barry Warsaw2000-10-121-0/+12
|
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-181-1/+2
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-8/+8
|
* regression test for new sequence unpacking semanticsBarry Warsaw1997-08-251-0/+131