summaryrefslogtreecommitdiff
path: root/Lib/test/test_contextlib.py
AgeCommit message (Expand)AuthorLines
2009-06-30convert usage of fail* to assert*Benjamin Peterson-10/+10
2009-05-29Deprecate contextlib.nested(). The with-statement now provides this function...Raymond Hettinger-1/+4
2008-04-30Remove some from __future__ import with_statementsBenjamin Peterson-1/+0
2007-04-25Standardize on test.test_support.run_unittest() (as opposed to a mix of run_u...Collin Winter-4/+2
2006-08-31Remove the old decimal context management tests from test_contextlib (guess w...Nick Coghlan-26/+0
2006-05-03Finish bringing SVN into line with latest version of PEP 343 by getting rid o...Nick Coghlan-25/+25
2006-05-02Get rid of __context__, per the latest changes to PEP 343 and python-devGuido van Rossum-6/+4
2006-04-25Move the PEP 343 documentation and implementation closer to theNick Coghlan-23/+23
2006-04-24Fix broken contextlib test from last checkin (I'd've sworn I tested that befo...Nick Coghlan-0/+2
2006-04-24Fix contextlib.nested to cope with exit methods raising and handling exceptionsNick Coghlan-0/+23
2006-04-10DecimalContextTestCase: this permanently changed theTim Peters-9/+13
2006-04-10test_contextlib wasn't actually being run by regrtest.py. Or more precisely,Phillip J. Eby-1/+9
2006-03-28Fix contextlib not copying function attributesPhillip J. Eby-0/+15
2006-03-25Fix a problem with @contextmanager not detecting a broken generatorPhillip J. Eby-0/+22
2006-03-01Fix a bug in nested() - if one of the sub-context-managers swallows theGuido van Rossum-0/+54
2006-02-28Updates to the with-statement:Guido van Rossum-0/+240