X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e74117f172e29e8a980e2c9de929ad50d3769150..0c6672890ce7161b3e3484c8831ca23c55f95c5c:/tests/comments2.py?ds=sidebyside diff --git a/tests/comments2.py b/tests/comments2.py index 7d5d3a3..6689c88 100644 --- a/tests/comments2.py +++ b/tests/comments2.py @@ -35,12 +35,12 @@ def inline_comments_in_brackets_ruin_everything(): body, parameters.children[-1], # )2 ] - if (self._proc is not None and + if (self._proc is not None # has the child process finished? - self._returncode is None and + and self._returncode is None # the child process has finished, but the # transport hasn't been notified yet? - self._proc.poll() is None): + and self._proc.poll() is None): pass short = [ # one @@ -137,12 +137,12 @@ def inline_comments_in_brackets_ruin_everything(): parameters.children[-1], # )2 ] if ( - self._proc is not None and + self._proc is not None # has the child process finished? - self._returncode is None and + and self._returncode is None # the child process has finished, but the # transport hasn't been notified yet? - self._proc.poll() is None + and self._proc.poll() is None ): pass short = [