summaryrefslogtreecommitdiff
path: root/Lib/test/test_warnings.py
Commit message (Expand)AuthorAgeFilesLines
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-11/+11
* I'm only backporting the tests here.Antoine Pitrou2010-11-101-0/+17
* fix PYTHONWARNINGS handling to not modify the original env value and improvePhilip Jenvey2010-04-101-3/+6
* #7301: add the environment variable $PYTHONWARNINGS to supplement the -WPhilip Jenvey2010-04-061-0/+39
* Fix test_unittest and test_warnings when running "python -Werror -m test.regr...Florent Xicluna2010-03-251-0/+5
* #8155: Preserve backward compatibility for test_support.check_warnings(). Ad...Florent Xicluna2010-03-181-12/+26
* use assert[Not]In where appropriateEzio Melotti2010-01-231-1/+1
* Issue #6415: Fixed warnings.warn sagfault on bad formatted string.Hirokazu Yamamoto2009-07-171-0/+13
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-32/+32
* Issue 5354: Change API for import_fresh_module() to better support test_warni...Nick Coghlan2009-04-221-2/+2
* Issue 5354: Provide a standardised testing mechanism for doing fresh imports ...Nick Coghlan2009-04-111-12/+14
* test_warnings ironically had a single test that was not protecting the warningsBrett Cannon2009-04-011-8/+8
* _warnings was importing itself to get an attribute. That's bad if warnings getsBrett Cannon2009-04-011-0/+35
* Require implementations for warnings.showwarning() support the 'line' argument.Brett Cannon2009-03-111-37/+0
* Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the te...Nick Coghlan2008-09-111-2/+55
* warnings.catch_warnings() now returns a list or None instead of the customBrett Cannon2008-09-091-60/+82
* Deprecate bsddb for removal in Python 3.0.Brett Cannon2008-09-051-0/+1
* Move test.test_support.catch_warning() to the warnings module, rename itBrett Cannon2008-09-021-34/+40
* Make test.test_support.catch_warnings more robust as discussed on python-dev....Nick Coghlan2008-07-131-1/+44
* warnings.warn_explicit() did not have the proper TypeErrors in place to preventBrett Cannon2008-06-271-0/+15
* Fix another "refleak" by clearing the filters after test.Georg Brandl2008-05-141-0/+1
* Fix logic error in Python/_warnings.c and add a test to verifyBenjamin Peterson2008-05-061-0/+9
* Fix a bug in the handling of the stacklevel argument in warnings.warn() whereBrett Cannon2008-05-061-0/+2
* Add a DeprecationWarning for when warnings.showwarning() is set to a functionBrett Cannon2008-05-051-0/+28
* Fix the C implementation of 'warnings' to infer the filename of the module thatBrett Cannon2008-05-031-0/+71
* Some tests did not pass on repeated calls (regrtest -R::)Amaury Forgeot d'Arc2008-04-181-0/+2
* Fix spliting on colons on Windows machines with a file path by limiting theBrett Cannon2008-04-131-3/+1
* Add an explicit check for output in a test to try to diagnose a failure onBrett Cannon2008-04-131-1/+4
* Fix test_warnings by making the state of things more consistent for each testBrett Cannon2008-04-131-29/+42
* Re-implement the 'warnings' module in C. This allows for usage of theBrett Cannon2008-04-121-75/+323
* Add tests for the warnings module; specifically formatwarning and showwarning.Brett Cannon2007-12-201-1/+32
* Make test_warnings re-entrant.Brett Cannon2007-08-171-0/+5
* Remove test.test_support.guard_warnings_filter.Brett Cannon2007-08-141-1/+1
* Implement a contextmanager test.test_support.catch_warning that canWalter Dörwald2007-04-031-94/+68
* Add tests for the filename.Walter Dörwald2007-04-031-0/+24
* Document that CatchWarningTests is reused by test_structmembers.py.Walter Dörwald2007-04-031-0/+2
* Move the functionality for catching warnings in test_warnings.py into a separateWalter Dörwald2007-04-031-1/+3
* Whitespace normalization.Tim Peters2006-06-271-1/+1
* 'warning's was improperly requiring that a command-line Warning category beBrett Cannon2006-06-221-0/+13
* Make test_warnings play nice with regrtest -R:: now that regrtest doesn'tThomas Wouters2006-04-161-4/+4
* Fix tests so they pass in -R modeNeal Norwitz2006-04-091-0/+4
* Don't filter out OverflowWarning; should be a test failure if it is raised byBrett Cannon2006-02-271-2/+1
* Stop producing or using OverflowWarning. PEP 237 thought this wouldTim Peters2004-08-251-0/+1
* Reworked test_warnings.py:Raymond Hettinger2003-07-131-46/+81
* This test failed on WindowsME because the full file path did not getRaymond Hettinger2003-07-131-2/+2
* Don't include slash in search string; it's OS-specific.Jeremy Hylton2003-07-111-1/+1
* Change warnings to avoid importing re module during startup.Jeremy Hylton2003-07-111-0/+53