Merge lp://staging/~stevenk/python-fixtures/fakeopen-with into lp://staging/~python-fixtures/python-fixtures/trunk

Proposed by Steve Kowalik
Status: Merged
Merged at revision: 77
Proposed branch: lp://staging/~stevenk/python-fixtures/fakeopen-with
Merge into: lp://staging/~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://staging/~stevenk/python-fixtures/fakeopen-with
Reviewer Review Type Date Requested Status
python-fixtures committers Pending
Review via email: mp+231149@code.staging.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.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches