summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_opcodes.py
Commit message (Collapse)AuthorAgeFilesLines
* #7092: silence some more py3k warnings.Ezio Melotti2010-03-171-3/+8
|
* use assert[Not]IsInstance where appropriateEzio Melotti2010-01-241-1/+1
|
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-081-10/+2
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-081-2/+10
| | | | Patch by flox
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-1/+1
|
* Issue 5176: special-case string formatting in BINARY_MODULO implementation. ↵Collin Winter2009-02-201-0/+6
| | | | This shows a modest (1-3%) speed-up in templating systems, for example.
* use more specific asserts in test_opcodeBenjamin Peterson2008-05-221-10/+10
|
* Convert test_opcodes to unittest.Georg Brandl2006-10-281-99/+108
|
* 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