Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
cdaafe0f9eb82630de0c4083b6d76dbaea0db231
/
Lib
/
test
/
test_contextlib.py
6a10281
Issue #7449, last part (11): fix many tests if thread support is disabled
by Victor Stinner
· 15 years ago
6257a7b
Replace catch_warnings with check_warnings when it makes sense. Use assertRaises context manager to simplify some tests.
by Florent Xicluna
· 15 years ago
f28fd24
Issue 6292: for the moment at least, the test suite passes if run
by R. David Murray
· 15 years ago
a4f46e1
Remove unused imports in test modules.
by Georg Brandl
· 15 years ago
5c8da86
convert usage of fail* to assert*
by Benjamin Peterson
· 16 years ago
822b87f
Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
by Raymond Hettinger
· 16 years ago
95287fa
Remove some from __future__ import with_statements
by Benjamin Peterson
· 17 years ago
c2898c5
Standardize on test.test_support.run_unittest() (as opposed to a mix of run_unittest() and run_suite()). Also, add functionality to run_unittest() that admits usage of unittest.TestLoader.loadTestsFromModule().
by Collin Winter
· 18 years ago
db38588
Remove the old decimal context management tests from test_contextlib (guess who didn't run the test suite before committing...)
by Nick Coghlan
· 19 years ago
afd5e63
Finish bringing SVN into line with latest version of PEP 343 by getting rid of all remaining references to context objects that I could find. Without a __context__() method context objects no longer exist. Also get test_with working again, and adopt a suggestion from Neal for decimal.Context.get_manager()
by Nick Coghlan
· 19 years ago
da5b701
Get rid of __context__, per the latest changes to PEP 343 and python-dev
by Guido van Rossum
· 19 years ago
a7e820a
Move the PEP 343 documentation and implementation closer to the
by Nick Coghlan
· 19 years ago
0e01962
Fix broken contextlib test from last checkin (I'd've sworn I tested that before checking it in. . .)
by Nick Coghlan
· 19 years ago
da2268f
Fix contextlib.nested to cope with exit methods raising and handling exceptions
by Nick Coghlan
· 19 years ago
a19dc0b
DecimalContextTestCase: this permanently changed the
by Tim Peters
· 19 years ago
bd0c10f
test_contextlib wasn't actually being run by regrtest.py. Or more precisely,
by Phillip J. Eby
· 19 years ago
35fd142
Fix contextlib not copying function attributes
by Phillip J. Eby
· 19 years ago
6edd258
Fix a problem with @contextmanager not detecting a broken generator
by Phillip J. Eby
· 19 years ago
a9f0687
Fix a bug in nested() - if one of the sub-context-managers swallows the
by Guido van Rossum
· 19 years ago
1a5e21e
Updates to the with-statement:
by Guido van Rossum
· 19 years ago