diff options
author | Robert Collins <robertc@robertcollins.net> | 2014-08-22 14:46:10 +1200 |
---|---|---|
committer | Robert Collins <robertc@robertcollins.net> | 2014-08-22 14:46:10 +1200 |
commit | 8dbefec6563cb4d073fc5aa68d4ed760f68863e1 (patch) | |
tree | 808ae197fb926f0130714f02f8e4ab978b3588ff /lib/fixtures/_fixtures/popen.py | |
parent | 1777cf19bf816bb9d3cc054ad502954ae3a0a65c (diff) | |
parent | 99783173a93b0e9705b4dd7f20af7c3337620e82 (diff) | |
download | fixtures-8dbefec6563cb4d073fc5aa68d4ed760f68863e1.tar.gz |
* ``FakeProcess`` now supports kill(). (Steve Kowalik)
Diffstat (limited to 'lib/fixtures/_fixtures/popen.py')
-rw-r--r-- | lib/fixtures/_fixtures/popen.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fixtures/_fixtures/popen.py b/lib/fixtures/_fixtures/popen.py index 80629fd..67f20e3 100644 --- a/lib/fixtures/_fixtures/popen.py +++ b/lib/fixtures/_fixtures/popen.py @@ -54,6 +54,9 @@ class FakeProcess(object): def __exit__(self, exc_type, exc_value, traceback): self.wait() + def kill(self): + pass + def wait(self): if self.returncode is None: self.communicate() |