Merge lp:~stevenk/python-fixtures/fakeopen-with into lp:~python-fixtures/python-fixtures/trunk
Proposed by
Steve Kowalik
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 77 | ||||
Proposed branch: | lp:~stevenk/python-fixtures/fakeopen-with | ||||
Merge into: | lp:~python-fixtures/python-fixtures/trunk | ||||
Diff against target: |
48 lines (+17/-0) 3 files modified
NEWS (+6/-0) lib/fixtures/_fixtures/popen.py (+6/-0) lib/fixtures/tests/_fixtures/test_popen.py (+5/-0) |
||||
To merge this branch: | bzr merge lp:~stevenk/python-fixtures/fakeopen-with | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
python-fixtures committers | Pending | ||
Review via email: mp+231149@code.launchpad.net |
Description of the change
Add __enter__() and __exit__() methods to FakeProcess (which is returned by FakePopen) to allow FakePopen to be used within a context manager itself.
To post a comment you must log in.