summaryrefslogtreecommitdiff
path: root/Lib/test/test_exceptions.py
AgeCommit message (Expand)AuthorLines
2010-02-02#7092: Silence py3k warnings in test_exceptions and test_pep352. Patch by Flo...Ezio Melotti-33/+34
2010-01-23use assert[Not]In where appropriateEzio Melotti-1/+1
2010-01-10DeprecationWarning is now silent by default.Brett Cannon-0/+1
2010-01-08Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran-38/+34
2010-01-08Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ...Senthil Kumaran-34/+38
2009-12-28#7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new ...Georg Brandl-0/+39
2009-12-24#6108: unicode(exception) and str(exception) should return the same messageEzio Melotti-1/+109
2009-09-16#6844: do not emit DeprecationWarnings on access if Exception.message has bee...Georg Brandl-0/+40
2009-06-30convert usage of fail* to assert*Benjamin Peterson-14/+14
2008-09-09warnings.catch_warnings() now returns a list or None instead of the customBrett Cannon-3/+3
2008-08-26Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as toAntoine Pitrou-6/+26
2008-07-31Remove a dummy test that was checked in by mistakeAmaury Forgeot d'Arc-8/+0
2008-07-31#2542: now that issubclass() may call arbitrary code,Amaury Forgeot d'Arc-1/+34
2008-07-08Issue 2517: Allow unicode messages in Exceptions again by correctly bypassing...Nick Coghlan-0/+1
2007-11-03Add a missing quotation mark.Brett Cannon-1/+1
2007-08-21Revert accidental checkins from last commit.Georg Brandl-16/+1
2007-08-21Demand version 2.5.1 since 2.5 has a bug with codecs.open context managers.Georg Brandl-1/+16
2007-08-14Remove test.test_support.guard_warnings_filter.Brett Cannon-2/+2
2007-05-05Deprecate BaseException.message as per PEP 352.Brett Cannon-26/+30
2007-02-28Add a test for instantiating SyntaxError with no arguments.Brett Cannon-0/+3
2007-01-29Add a test for slicing an exception.Brett Cannon-0/+7
2006-12-13Remove unneeded imports of 'warnings'.Brett Cannon-1/+0
2006-10-27WindowsError.str should display the windows error code,Thomas Heller-0/+13
2006-09-30Bug #1566800: make sure that EnvironmentError can be called with anyGeorg Brandl-3/+8
2006-09-09Remove the __unicode__ method from exceptions. Allows unicode() to be calledBrett Cannon-0/+9
2006-09-06Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.Georg Brandl-26/+13
2006-06-21Fix for an obscure bug introduced by revs 46806 and 46808, with a test.Armin Rigo-0/+12
2006-06-07SF patch 1501987: Remove randomness from test_exceptions,Tim Peters-19/+30
2006-06-02Fix memory leak found by valgrind.Neal Norwitz-2/+4
2006-06-02Convert docstrings to comments so regrtest -v prints method namesNeal Norwitz-7/+7
2006-06-01Some code style tweaks, and remove apply.Georg Brandl-63/+67
2006-05-30Whitespace normalization.Tim Peters-4/+4
2006-05-30Convert test_exceptions to unittest.Georg Brandl-262/+252
2006-05-30Do the check for no keyword arguments in __init__ so thatGeorg Brandl-1/+1
2006-05-30Disallow keyword args for exceptions.Georg Brandl-0/+7
2006-05-30Add a test case for exception pickling. args is never NULL.Georg Brandl-0/+13
2006-05-27Conversion of exceptions over from faked-up classes to new-style C types.Richard Jones-8/+85
2006-03-01PEP 352 implementation. Creates a new base class, BaseException, which has anBrett Cannon-4/+1
2004-08-25Stop producing or using OverflowWarning. PEP 237 thought this wouldTim Peters-7/+8
2003-05-10Patch #734231: Update RiscOS support. In particular, correctMartin v. Löwis-3/+3
2002-07-30Complete the absolute import patch for the test suite. All relativeBarry Warsaw-1/+1
2002-04-16Tighten up some warning filters, and break some dependencies on theTim Peters-2/+6
2001-12-08Enable support for jython:Finn Bock-4/+11
2001-09-26Add tests for new PyErr_NormalizeException() behaviorJeremy Hylton-0/+35
2001-08-23Turn OverflowWarning into an error locally, in order to make theGuido van Rossum-0/+3
2001-08-13reload(exceptions) should not raise an ImportError, but should actBarry Warsaw-0/+8
2001-02-01Allow 'continue' inside 'try' clauseJeremy Hylton-19/+2
2000-10-23Use 4-space indents.Fred Drake-8/+8
2000-09-08Add test cases to make sure we get the right SyntaxError message forFred Drake-0/+49
2000-09-01Applying patch #100994 to allow JPython to use more of the standardBarry Warsaw-1/+1