summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_opcodes.py
Commit message (Collapse)AuthorAgeFilesLines
* 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. :)
* The one thing I love more then writing code is deleting code.Moshe Zadka2001-01-291-7/+7
| | | | | | | | | * Removed func_hash and func_compare, so they can be treated as immutable content-less objects (address hash and comparison) * Added tests to that affect to test_funcattrs (also testing func_code is writable) * Reverse meaning of tests in test_opcodes which checked identical code gets identical functions
* Update the code to better reflect recommended style:Fred Drake2000-12-121-1/+1
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-13/+13
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-15/+15
|
* There was actually a test that ensured that raising an exception AGuido van Rossum1997-10-011-3/+2
| | | | | | | with an instance of a derived class B would really raise an A, not a B. Since Barry fixed this anomalous behaviour, I though I might as well fix the test! (Hmm, Barry, did you not run the tests or did you miss that test_opcodes failed?)
* Added a few more tests of exception class raisingBarry Warsaw1997-08-221-0/+8
|
* Add test for function comparisonsGuido van Rossum1997-08-051-0/+35
|
* test class exceptionsGuido van Rossum1995-02-091-0/+36
|
* Unmerged except and finally clausesGuido van Rossum1992-05-061-1/+0
|
* Initial revisionGuido van Rossum1992-01-271-0/+24