diff options
Diffstat (limited to 'blessings/tests/accessories.py')
-rw-r--r-- | blessings/tests/accessories.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blessings/tests/accessories.py b/blessings/tests/accessories.py index 8cb3f5b..28b21de 100644 --- a/blessings/tests/accessories.py +++ b/blessings/tests/accessories.py @@ -63,7 +63,7 @@ class as_subprocess(object): def __call__(self, *args, **kwargs): pid, master_fd = pty.fork() - if pid is self._CHILD_PID: + if pid == self._CHILD_PID: # child process executes function, raises exception # if failed, causing a non-zero exit code, using the # protected _exit() function of ``os``; to prevent the |