summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_contextlib.py
Commit message (Expand)AuthorAgeFilesLines
* bpo-10049: Add a "no-op" (null) context manager to contextlib (GH-4464)Jesse-Bakker2017-11-231-0/+10
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-071-5/+1
* bpo-30266: support "= None" pattern in AbstractContextManager (#1448)Jelle Zijlstra2017-06-091-0/+10
* bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError (GH...svelankar2017-04-111-0/+23
* Added more tests for issue #27122.Serhiy Storchaka2016-06-201-5/+11
|\
| * Added more tests for issue #27122.Serhiy Storchaka2016-06-201-5/+11
* | Issue #27123: When an exception is raised within the context beingGregory P. Smith2016-06-141-0/+28
|\ \ | |/
| * Issue #27123: When an exception is raised within the context beingGregory P. Smith2016-06-141-0/+28
* | Issue #25609: Introduce contextlib.AbstractContextManager andBrett Cannon2016-04-081-0/+33
* | Issue #26136: Upgrade the generator_stop warning to DeprecationWarningMartin Panter2016-02-101-1/+1
|/
* Issue #25322: Merge contextlib.suppress test fix from 3.4 into 3.5Martin Panter2015-10-101-1/+3
|\
| * Issue #25322: Fix test for nested contextlib.suppressMartin Panter2015-10-101-1/+3
* | Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka2015-06-281-0/+8
|\ \ | |/
| * Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka2015-06-281-0/+8
* | Issue 24237: Raise PendingDeprecationWarning per PEP 479Yury Selivanov2015-05-221-2/+4
* | PEP 479: Change StopIteration handling inside generators.Yury Selivanov2015-05-091-0/+34
* | Issue #22389: Add contextlib.redirect_stderr().Berker Peksag2014-11-281-21/+37
|/
* Merge removal of issue 20317 debugging code from 3.3Nick Coghlan2014-01-241-10/+48
|\
| * Issue 20317: Remove debugging code from contextlibNick Coghlan2014-01-241-10/+48
* | Merge #20317 from 3.3Nick Coghlan2014-01-221-0/+23
|\ \ | |/
| * Issue #20317: Don't create a reference loop in ExitStackNick Coghlan2014-01-221-0/+23
* | Close #19403: make contextlib.redirect_stdout reentrantNick Coghlan2013-11-031-7/+17
* | Issue #19330: Handle the no-docstrings case in testsNick Coghlan2013-10-261-16/+12
* | Close #19330 by using public classes in contextlibNick Coghlan2013-10-261-5/+58
* | Close #19396: make test_contextlib tolerate -SNick Coghlan2013-10-261-3/+4
* | contextlib doc updates and refactoringNick Coghlan2013-10-191-4/+44
* | Close #19266: contextlib.ignore -> contextlib.suppressNick Coghlan2013-10-171-14/+14
* | Rename contextlib.ignored() to contextlib.ignore().Raymond Hettinger2013-10-111-5/+5
* | Issue #15805: Add contextlib.redirect_stdout()Raymond Hettinger2013-10-101-0/+9
* | Merge #19092 from 3.3Nick Coghlan2013-10-011-0/+37
|\ \ | |/
| * Close #19092: ExitStack now reraises exceptions from __exit__Nick Coghlan2013-10-011-0/+37
* | Update various test modules to use unittest.main() for test discoveryBrett Cannon2013-06-131-5/+1
* | Issue #15806: Add contextlib.ignored().Raymond Hettinger2013-03-111-0/+22
|/
* Close #14969: Improve the handling of exception chaining in contextlib.ExitStackNick Coghlan2012-06-011-11/+18
* Close #14963: Use an iterative algorithm in contextlib.ExitStack.__exit__ (Pa...Nick Coghlan2012-05-311-0/+6
* Issue #14963: Added test cases for contextlib.ExitStack exception handling be...Nick Coghlan2012-05-311-0/+89
* Close #13585: add contextlib.ExitStack to replace the ill-fated contextlib.ne...Nick Coghlan2012-05-211-0/+123
* Issue #11647: allow contextmanager objects to be used as decorators as descri...Nick Coghlan2011-05-051-1/+6
* #10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and ...Ezio Melotti2010-12-011-2/+2
* Issue 9110. Adding ContextDecorator to contextlib. This enables the creation ...Michael Foord2010-06-301-0/+163
* Merged revisions 80552-80556,80564-80566,80568-80571 via svnmerge fromVictor Stinner2010-04-281-1/+5
* (partially)Florent Xicluna2010-04-021-29/+12
* Merged revisions 78093 via svnmerge fromGeorg Brandl2010-03-141-2/+0
* Merged revisions 78351 via svnmerge fromR. David Murray2010-02-241-1/+11
* remove warnings supressionBenjamin Peterson2009-07-011-4/+1
* Removed contextlib.nested()Raymond Hettinger2009-07-011-122/+0
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-10/+10
* Suppress deprecation warnings.Raymond Hettinger2009-05-281-1/+4
* Restore tests until the code is actually removed.Raymond Hettinger2009-05-281-0/+122
* Deprecate contextlib.nested(). The with-statement now provides this function...Raymond Hettinger2009-05-281-122/+0