summaryrefslogtreecommitdiff
path: root/Lib/test/test_contextlib.py
AgeCommit message (Expand)AuthorLines
2018-01-28bpo-30306: release arguments of contextmanager (GH-1500)Martin Teichmann-0/+47
2018-01-25bpo-29302: Implement contextlib.AsyncExitStack. (#4790)Ilya Kulakov-34/+38
2017-11-23bpo-10049: Add a "no-op" (null) context manager to contextlib (GH-4464)Jesse-Bakker-0/+10
2017-09-07bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou-5/+1
2017-06-09bpo-30266: support "= None" pattern in AbstractContextManager (#1448)Jelle Zijlstra-0/+10
2017-04-11bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError (GH...svelankar-0/+23
2016-06-20Added more tests for issue #27122.Serhiy Storchaka-4/+10
2016-06-20Added more tests for issue #27122.Serhiy Storchaka-4/+10
2016-06-14Issue #27123: When an exception is raised within the context beingGregory P. Smith-0/+28
2016-06-14Issue #27123: When an exception is raised within the context beingGregory P. Smith-0/+28
2016-04-08Issue #25609: Introduce contextlib.AbstractContextManager andBrett Cannon-0/+33
2016-02-10Issue #26136: Upgrade the generator_stop warning to DeprecationWarningMartin Panter-1/+1
2015-10-10Issue #25322: Merge contextlib.suppress test fix from 3.4 into 3.5Martin Panter-1/+3
2015-10-10Issue #25322: Fix test for nested contextlib.suppressMartin Panter-1/+3
2015-06-28Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka-0/+8
2015-06-28Issue #24336: The contextmanager decorator now works with functions withSerhiy Storchaka-0/+8
2015-05-22Issue 24237: Raise PendingDeprecationWarning per PEP 479Yury Selivanov-2/+4
2015-05-09PEP 479: Change StopIteration handling inside generators.Yury Selivanov-0/+34
2014-11-28Issue #22389: Add contextlib.redirect_stderr().Berker Peksag-21/+37
2014-01-24Merge removal of issue 20317 debugging code from 3.3Nick Coghlan-10/+48
2014-01-24Issue 20317: Remove debugging code from contextlibNick Coghlan-10/+48
2014-01-22Merge #20317 from 3.3Nick Coghlan-0/+23
2014-01-22Issue #20317: Don't create a reference loop in ExitStackNick Coghlan-0/+23
2013-11-03Close #19403: make contextlib.redirect_stdout reentrantNick Coghlan-7/+17
2013-10-26Issue #19330: Handle the no-docstrings case in testsNick Coghlan-16/+12
2013-10-26Close #19330 by using public classes in contextlibNick Coghlan-5/+58
2013-10-26Close #19396: make test_contextlib tolerate -SNick Coghlan-3/+4
2013-10-20contextlib doc updates and refactoringNick Coghlan-4/+44
2013-10-17Close #19266: contextlib.ignore -> contextlib.suppressNick Coghlan-14/+14
2013-10-10Rename contextlib.ignored() to contextlib.ignore().Raymond Hettinger-5/+5
2013-10-10Issue #15805: Add contextlib.redirect_stdout()Raymond Hettinger-0/+9
2013-10-01Merge #19092 from 3.3Nick Coghlan-0/+37
2013-10-01Close #19092: ExitStack now reraises exceptions from __exit__Nick Coghlan-0/+37
2013-06-12Update various test modules to use unittest.main() for test discoveryBrett Cannon-5/+1
2013-03-10Issue #15806: Add contextlib.ignored().Raymond Hettinger-0/+22
2012-06-01Close #14969: Improve the handling of exception chaining in contextlib.ExitStackNick Coghlan-11/+18
2012-06-01Close #14963: Use an iterative algorithm in contextlib.ExitStack.__exit__ (Pa...Nick Coghlan-0/+6
2012-05-31Issue #14963: Added test cases for contextlib.ExitStack exception handling be...Nick Coghlan-0/+89
2012-05-21Close #13585: add contextlib.ExitStack to replace the ill-fated contextlib.ne...Nick Coghlan-0/+123
2011-05-05Issue #11647: allow contextmanager objects to be used as decorators as descri...Nick Coghlan-1/+6
2010-12-01#10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and ...Ezio Melotti-2/+2
2010-06-30Issue 9110. Adding ContextDecorator to contextlib. This enables the creation ...Michael Foord-0/+163
2010-04-28Merged revisions 80552-80556,80564-80566,80568-80571 via svnmerge fromVictor Stinner-1/+5
2010-04-02(partially)Florent Xicluna-29/+12
2010-03-14Merged revisions 78093 via svnmerge fromGeorg Brandl-2/+0
2010-02-24Merged revisions 78351 via svnmerge fromR. David Murray-1/+11
2009-07-01remove warnings supressionBenjamin Peterson-4/+1
2009-07-01Removed contextlib.nested()Raymond Hettinger-122/+0
2009-06-30convert old fail* assertions to assert*Benjamin Peterson-10/+10
2009-05-28Suppress deprecation warnings.Raymond Hettinger-1/+4