Commit graph

6 commits

Author SHA1 Message Date
Barry Warsaw
04f357cffe Get rid of relative imports in all unittests. Now anything that
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. :)
2002-07-23 19:04:11 +00:00
Fred Drake
132dce2246 Update the code to better reflect recommended style:
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
2000-12-12 23:11:42 +00:00
Barry Warsaw
0157e7aa3e Added some single tuple/list unpacking for JPython regression testing. 2000-10-12 14:45:58 +00:00
Fred Drake
b65b006595 Convert some old-style string exceptions to class exceptions. 2000-08-18 14:50:20 +00:00
Guido van Rossum
41360a4696 Mass check-in after untabifying all files that need it. 1998-03-26 19:42:58 +00:00
Barry Warsaw
09f9547393 regression test for new sequence unpacking semantics 1997-08-25 22:17:45 +00:00